summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 11:10:29 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-07 11:10:29 -0400
commit45ed05decf330faab4503fe8fecadc54698c9724 (patch)
treeadd3eeda2d09334209abe4e55341b674e64dd117 /scripts
parentbbc257476f9aac8d04d75a8036d412caa8f7d515 (diff)
Use HIGH() and LOW()
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/SafariZoneGate.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/SafariZoneGate.asm b/scripts/SafariZoneGate.asm
index eb49ba8d..a15a5630 100755
--- a/scripts/SafariZoneGate.asm
+++ b/scripts/SafariZoneGate.asm
@@ -182,9 +182,9 @@ SafariZoneGate_TextPointers:
call PrintText
ld a, 30
ld [wNumSafariBalls], a
- ld a, 502 / $100
+ ld a, HIGH(502)
ld [wSafariSteps], a
- ld a, 502 % $100
+ ld a, LOW(502)
ld [wSafariSteps + 1], a
ld a, D_UP
ld c, 3