diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-28 21:22:35 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2017-12-28 22:13:39 -0500 |
commit | b9a68fec2589eb6969be63e6ed1eb3fca312c307 (patch) | |
tree | 59b5db70690a9f9041e4964adae1722b4d178a1b /engine/intro_menu.asm | |
parent | 4c35f3ac8506e5f326658bbab91c257584f7b716 (diff) |
Consistent if/else/endc (matches rept/endr) and DEF (matches BANK/HIGH/LOW)
Diffstat (limited to 'engine/intro_menu.asm')
-rwxr-xr-x | engine/intro_menu.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/intro_menu.asm b/engine/intro_menu.asm index 5e38589aa..faa5748dd 100755 --- a/engine/intro_menu.asm +++ b/engine/intro_menu.asm @@ -199,9 +199,9 @@ _ResetWRAM: ; 5bae ld [Coins], a ld [Coins + 1], a -IF START_MONEY >= $10000 +if START_MONEY >= $10000 ld a, HIGH(START_MONEY >> 8) -ENDC +endc ld [Money], a ld a, HIGH(START_MONEY) ; mid ld [Money + 1], a @@ -646,11 +646,11 @@ Continue_DisplayPokedexNumCaught: ; 5f6b ret z push hl ld hl, PokedexCaught -IF NUM_POKEMON % 8 +if NUM_POKEMON % 8 ld b, NUM_POKEMON / 8 + 1 -ELSE +else ld b, NUM_POKEMON / 8 -ENDC +endc call CountSetBits pop hl ld de, wd265 |