summaryrefslogtreecommitdiff
path: root/engine/scripting.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-12-28 19:34:43 -0500
committerGitHub <noreply@github.com>2017-12-28 19:34:43 -0500
commit82a05a1752b476caab8951fe03f539dcc1a63669 (patch)
tree972f867159ded40695e868338bb697a303335b62 /engine/scripting.asm
parente2b378f5e32ea1416fbc9ac5e96d23be244e4a6b (diff)
parent50fc9c3389ae8130d3670683f22f3e49555c57a3 (diff)
Merge pull request #443 from xCrystal/master
Misc style cleanup and documentation
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