From c535079f3b8bfd322e64cabc8e791d8e5055dd41 Mon Sep 17 00:00:00 2001 From: Adrianus Kleemans Date: Sat, 21 Mar 2026 14:36:05 +0100 Subject: [PATCH 1/3] Remove remarks about "not mandatory for junior-devs" --- docs/developer-docs/flags/addsource.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/developer-docs/flags/addsource.md b/docs/developer-docs/flags/addsource.md index 7623bb2f..1b1e214e 100644 --- a/docs/developer-docs/flags/addsource.md +++ b/docs/developer-docs/flags/addsource.md @@ -5,9 +5,7 @@ description: Learn how to effectively use the AddSource flag to manage accumulat # `AddSource` -_**Note**: most likely this technique is not needed for simple games. So, it's not mandatory for jr-devs._ - -The `AddSource` can be chosen in the Flag column of the Achievement Editor +The `AddSource` can be chosen in the Flag column of the Achievement Editor. When a condition has the `AddSource` flag, the value on that memory address is added to the accumulator. When a condition is reached that does not modify the accumulator, the accumulator is added to value of the address on that condition before the comparison is made, and the accumulator will be reset to 0. It may sound a bit confusing, but the example below will clarify how this works: From 01c52fcdb94d2939f1acebebb2f9cf563504eaf0 Mon Sep 17 00:00:00 2001 From: Adrianus Kleemans Date: Sat, 21 Mar 2026 14:38:36 +0100 Subject: [PATCH 2/3] Remove remark in SubSource --- docs/developer-docs/flags/subsource.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/developer-docs/flags/subsource.md b/docs/developer-docs/flags/subsource.md index 855a4520..8e976125 100644 --- a/docs/developer-docs/flags/subsource.md +++ b/docs/developer-docs/flags/subsource.md @@ -5,9 +5,7 @@ description: Learn how to effectively use the SubSource flag to subtract values # `SubSource` -_**Note**: most likely this technique is not needed for simple games. So, it's not mandatory for jr-devs._ - -The `SubSource` can be chosen in the Flag column of the Achievement Editor +The `SubSource` can be chosen in the Flag column of the Achievement Editor. Works similarly to [`AddSource`](/developer-docs/flags/addsource), but the `SubSource` flag subtracts the calculated value from the accumulator. From f5be3c0f07f754396ac24a75c1d6695614ce5561 Mon Sep 17 00:00:00 2001 From: Adrianus Kleemans Date: Sat, 21 Mar 2026 14:39:02 +0100 Subject: [PATCH 3/3] Remove remark in addhits-subhits Removed note about the necessity of AddHits for simple games. --- docs/developer-docs/flags/addhits-subhits.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/developer-docs/flags/addhits-subhits.md b/docs/developer-docs/flags/addhits-subhits.md index 35252660..18de1884 100644 --- a/docs/developer-docs/flags/addhits-subhits.md +++ b/docs/developer-docs/flags/addhits-subhits.md @@ -5,8 +5,6 @@ description: Master the use of AddHits and SubHits flags to manage hit counts in # `AddHits` and `SubHits` -**NOTE**: This technique is not needed for simple games, so it is not mandatory for jr-devs. - `AddHits` and `SubHits` can be chosen in the Flag column of the Achievement Editor. The `AddHits`/`SubHits` conditions do not have to be true for the achievement to trigger. They modify the [hit count](/developer-docs/hit-counts) of another condition, which does have to be true for the achievement to trigger. The sequence of conditions is referred to as a `AddHits` chain (even if it contains `SubHits`).