aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Route25.asm
diff options
context:
space:
mode:
authorYoann Fievez <yoann.fievez@gmail.com>2026-06-24 20:43:48 +0200
committerGitHub <noreply@github.com>2026-06-24 14:43:48 -0400
commitd150f7f4f49e9dda08c52199159b30ae9b4f00e8 (patch)
treee0c81ae315ccdf2952c10713312427f2c55e1fea /scripts/Route25.asm
parentUse OAM constants and decimal coordinates in surfing_pikachu_oam.asm (#157) (diff)
downloadpokeyellow-d150f7f4f49e9dda08c52199159b30ae9b4f00e8.tar.gz
pokeyellow-d150f7f4f49e9dda08c52199159b30ae9b4f00e8.tar.xz
pokeyellow-d150f7f4f49e9dda08c52199159b30ae9b4f00e8.zip
Identify `wPikachuSpawnStateFlags` and `wPikachuMapScriptFlags` bits, and `PIKAMOVEMENT_*` constants (#158)
- Rename `wd471` to` wPikachuSpawnStateFlags`, with `BIT_PIKACHU_SPAWN_*` bits - Rename `wd492` to `wPikachuMapScriptFlags`, with `BIT_PIKACHU_MAP_*` bits - Introduce `PIKAMOVEMENT_*` constants for `ApplyPikachuMovementData` - Refactor `BillsHouse` scripts and Pikachu/Bill movement data
Diffstat (limited to 'scripts/Route25.asm')
-rw-r--r--scripts/Route25.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/Route25.asm b/scripts/Route25.asm
index 23faa396..41134ee8 100644
--- a/scripts/Route25.asm
+++ b/scripts/Route25.asm
@@ -9,11 +9,11 @@ Route25_Script:
ret
Route25ToggleBillsScript:
- ld hl, wd492
- res 2, [hl]
- res 3, [hl]
- res 4, [hl]
- res 7, [hl]
+ ld hl, wPikachuMapScriptFlags
+ res BIT_PIKACHU_MAP_2, [hl]
+ res BIT_PIKACHU_MAP_3, [hl]
+ res BIT_PIKACHU_MAP_4, [hl]
+ res BIT_PIKACHU_MAP_SCRIPT_ACTIVE, [hl]
xor a
ld [wBillsHouseCurScript], a
ld hl, wCurrentMapScriptFlags