summaryrefslogtreecommitdiff
path: root/engine/scripting.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2017-12-28 13:15:46 +0100
committerxCrystal <rgr.crystal@gmail.com>2017-12-28 13:15:46 +0100
commit9457679af8d36a140db7b8832df595e8310e6bb4 (patch)
treed3bf8b1b424582f66add4f2b8d95f409cfafecb2 /engine/scripting.asm
parente2b378f5e32ea1416fbc9ac5e96d23be244e4a6b (diff)
Prefix engine_flags wram addresses with w
Diffstat (limited to 'engine/scripting.asm')
-rw-r--r--engine/scripting.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/scripting.asm b/engine/scripting.asm
index 826267f6b..7512bdc06 100644
--- a/engine/scripting.asm
+++ b/engine/scripting.asm
@@ -2609,14 +2609,14 @@ _EngineFlagAction:
Script_wildoff:
; script command 0x38
- ld hl, StatusFlags
+ ld hl, wStatusFlags
set 5, [hl]
ret
Script_wildon:
; script command 0x37
- ld hl, StatusFlags
+ ld hl, wStatusFlags
res 5, [hl]
ret
@@ -2991,12 +2991,12 @@ Script_end_all:
Script_halloffame:
; script command 0xa1
- ld hl, GameTimerPause
+ ld hl, wGameTimerPause
res 0, [hl]
farcall TrainerRankings_HallOfFame
farcall TrainerRankings_HallOfFame2
farcall HallOfFame
- ld hl, GameTimerPause
+ ld hl, wGameTimerPause
set 0, [hl]
jr ReturnFromCredits