aboutsummaryrefslogtreecommitdiffstats
path: root/engine/game_corner_slots2.asm
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-05-24 18:54:06 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-05-24 18:54:06 -0400
commit87b20762d539888b031aba92b574108f5f817815 (patch)
tree6a431083c23d83935f920ea0360574be365796b5 /engine/game_corner_slots2.asm
parentUpdate hidden object functions and include them in main (diff)
downloadpokeyellow-87b20762d539888b031aba92b574108f5f817815.tar.gz
pokeyellow-87b20762d539888b031aba92b574108f5f817815.tar.xz
pokeyellow-87b20762d539888b031aba92b574108f5f817815.zip
Numerous changes (see below)
* Fix build errors from previous commit * Fix predef text pointers * Disassemble hidden object data and additional accessory functions
Diffstat (limited to 'engine/game_corner_slots2.asm')
-rwxr-xr-xengine/game_corner_slots2.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/game_corner_slots2.asm b/engine/game_corner_slots2.asm
index 1bcbefb1..3f7c3f71 100755
--- a/engine/game_corner_slots2.asm
+++ b/engine/game_corner_slots2.asm
@@ -6,13 +6,13 @@ AbleToPlaySlotsCheck: ; 2fdfd (b:7dfd)
predef GetQuantityOfItemInBag
ld a, b
and a
- ld b, GameCornerCoinCaseText_id ; - TextPredefs) / 2 + 1
+ ld b, (GameCornerCoinCaseText_id - TextPredefs) / 2 + 1
jr z, .printCoinCaseRequired
ld hl, wPlayerCoins
ld a, [hli]
or [hl]
jr nz, .done ; able to play
- ld b, GameCornerNoCoinsText_id ; - TextPredefs) / 2 + 1
+ ld b, (GameCornerNoCoinsText_id - TextPredefs) / 2 + 1
.printCoinCaseRequired
call EnableAutoTextBoxDrawing
ld a, b