diff options
| author | yenatch <yenatch@gmail.com> | 2014-06-16 13:57:26 -0700 |
|---|---|---|
| committer | yenatch <yenatch@gmail.com> | 2014-06-16 13:57:26 -0700 |
| commit | b36f793667924f868282ce979fabab3e95d642a5 (patch) | |
| tree | 580af2e7c0afc016ccf7a31b44e98898321176ac /engine/slot_machine.asm | |
| parent | Use macros to define predefs. (diff) | |
| download | pokeyellow-b36f793667924f868282ce979fabab3e95d642a5.tar.gz pokeyellow-b36f793667924f868282ce979fabab3e95d642a5.tar.xz pokeyellow-b36f793667924f868282ce979fabab3e95d642a5.zip | |
Use macros for predef calls/jumps instead of static ids.
Diffstat (limited to 'engine/slot_machine.asm')
| -rwxr-xr-x | engine/slot_machine.asm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/engine/slot_machine.asm b/engine/slot_machine.asm index 0e17d13f..e43cc9ab 100755 --- a/engine/slot_machine.asm +++ b/engine/slot_machine.asm @@ -17,8 +17,7 @@ PromptUserToPlaySlots: ; 3730e (d:730e) xor a ld [hli], a ld [hl], $2 - ld a, $4c - call Predef + predef EmotionBubble call GBPalWhiteOutWithDelay3 call LoadSlotMachineTiles call LoadFontTilePatterns @@ -618,8 +617,7 @@ SlotMachine_37741: ; 37741 (d:7741) ld [hli], a ld de, wPlayerCoins + 1 ld c, $2 - ld a, $c ; SubBCDPredef - call Predef + predef SubBCDPredef SlotMachine_37754: ; 37754 (d:7754) ld hl, wTileMap + $19 @@ -660,8 +658,7 @@ SlotMachine_3776b: ; 3776b (d:776b) ld hl, wcd47 ld de, wPlayerCoins + 1 ld c, $2 - ld a, $b ; AddBCDPredef - call Predef + predef AddBCDPredef call SlotMachine_37754 call SlotMachine_3775f ld a, (SFX_1f_65 - SFX_Headers_1f) / 3 |
