diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-07 11:10:29 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-07 11:10:29 -0400 |
commit | 45ed05decf330faab4503fe8fecadc54698c9724 (patch) | |
tree | add3eeda2d09334209abe4e55341b674e64dd117 /scripts | |
parent | bbc257476f9aac8d04d75a8036d412caa8f7d515 (diff) |
Use HIGH() and LOW()
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/SafariZoneGate.asm | 4 |
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 |