From 92f8f7fcb45a4d91893de5ea2ec6002f418f31eb Mon Sep 17 00:00:00 2001 From: Christophe Vanlancker Date: Wed, 5 Aug 2026 11:58:27 +0200 Subject: [PATCH 1/2] 7 cheats: infinite HP and MP (all characters, plus per-character entries for Alex, Luna, Nash and Ramu), and max Sil (money). Signed-off-by: Christophe Vanlancker --- .../Lunar Legend (USA).cht | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 cht/Nintendo - Game Boy Advance/Lunar Legend (USA).cht diff --git a/cht/Nintendo - Game Boy Advance/Lunar Legend (USA).cht b/cht/Nintendo - Game Boy Advance/Lunar Legend (USA).cht new file mode 100644 index 000000000..09e97ed77 --- /dev/null +++ b/cht/Nintendo - Game Boy Advance/Lunar Legend (USA).cht @@ -0,0 +1,29 @@ +cheats = 7 + +cheat0_desc = "Infinite HP (All Characters)" +cheat0_code = "83004AC2+03E7+83004AD2+03E7+83004B02+03E7+83004B12+03E7+83004B42+03E7+83004B52+03E7+83004B82+03E7+83004B92+03E7+83004BC2+03E7+83004BD2+03E7+83004C02+03E7+83004C12+03E7+83004C42+03E7+83004C52+03E7+83004C82+03E7+83004C92+03E7" +cheat0_enable = false + +cheat1_desc = "Infinite MP (All Characters)" +cheat1_code = "83004AC4+03E7+83004AD4+03E7+83004B04+03E7+83004B14+03E7+83004B44+03E7+83004B54+03E7+83004B84+03E7+83004B94+03E7+83004BC4+03E7+83004BD4+03E7+83004C04+03E7+83004C14+03E7+83004C44+03E7+83004C54+03E7+83004C84+03E7+83004C94+03E7" +cheat1_enable = false + +cheat2_desc = "Max Sil - Money (999999)" +cheat2_code = "83002C38+423F+83002C3A+000F" +cheat2_enable = false + +cheat3_desc = "Infinite HP and MP (Alex)" +cheat3_code = "83004AC2+03E7+83004AD2+03E7+83004AC4+03E7+83004AD4+03E7" +cheat3_enable = false + +cheat4_desc = "Infinite HP and MP (Luna)" +cheat4_code = "83004B02+03E7+83004B12+03E7+83004B04+03E7+83004B14+03E7" +cheat4_enable = false + +cheat5_desc = "Infinite HP and MP (Nash)" +cheat5_code = "83004B42+03E7+83004B52+03E7+83004B44+03E7+83004B54+03E7" +cheat5_enable = false + +cheat6_desc = "Infinite HP and MP (Ramu)" +cheat6_code = "83004C82+03E7+83004C92+03E7+83004C84+03E7+83004C94+03E7" +cheat6_enable = false From 99b670e79f7dd2a52f0e532904a06d01b8c56192 Mon Sep 17 00:00:00 2001 From: Christophe Vanlancker Date: Sat, 8 Aug 2026 00:35:32 +0200 Subject: [PATCH 2/2] Lunar Legend (USA): add No Random Encounters cheat The counter at 0x030025D4 (u16, IWRAM) holds the number of frames of held movement input remaining until the next random encounter. It decrements once per movement frame and the encounter fires when the decrement lands exactly on zero. Pinning it at 999 means it can never land there. The address was found by diffing RAM across using the in-game item "Perfume" ("Keeps monsters away!"), which turned out to add 300 to this same counter, once -- it delays encounters rather than suppressing them. Verified causally in both directions through retro_cheat_set, on two different saves in two different areas: 830025D4 03E7 gives zero encounters across 400-step walks and a 30,510-frame soak, while 830025D4 0001 forces a battle within four steps. Poking the counter to N produces the encounter after exactly N frames of held movement, confirmed across 17 distinct predictions. Combat is unaffected -- a battle entered by other means fights and resolves normally with the cheat active -- and the counter is not battle scratch memory: it holds a stable value for the duration of a fight. Co-Authored-By: Claude Opus 5 (1M context) Signed-off-by: Christophe Vanlancker --- cht/Nintendo - Game Boy Advance/Lunar Legend (USA).cht | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cht/Nintendo - Game Boy Advance/Lunar Legend (USA).cht b/cht/Nintendo - Game Boy Advance/Lunar Legend (USA).cht index 09e97ed77..be63b6386 100644 --- a/cht/Nintendo - Game Boy Advance/Lunar Legend (USA).cht +++ b/cht/Nintendo - Game Boy Advance/Lunar Legend (USA).cht @@ -1,4 +1,4 @@ -cheats = 7 +cheats = 8 cheat0_desc = "Infinite HP (All Characters)" cheat0_code = "83004AC2+03E7+83004AD2+03E7+83004B02+03E7+83004B12+03E7+83004B42+03E7+83004B52+03E7+83004B82+03E7+83004B92+03E7+83004BC2+03E7+83004BD2+03E7+83004C02+03E7+83004C12+03E7+83004C42+03E7+83004C52+03E7+83004C82+03E7+83004C92+03E7" @@ -27,3 +27,7 @@ cheat5_enable = false cheat6_desc = "Infinite HP and MP (Ramu)" cheat6_code = "83004C82+03E7+83004C92+03E7+83004C84+03E7+83004C94+03E7" cheat6_enable = false + +cheat7_desc = "No Random Encounters" +cheat7_code = "830025D4+03E7" +cheat7_enable = false