aboutsummaryrefslogtreecommitdiffstats
path: root/engine/game_corner_slots2.asm
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-11-29 15:09:32 -0500
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-11-29 15:09:32 -0500
commit6dc1f939e1e97563928c22950d8fa618d892c32d (patch)
tree9f9f19eac7a40d9d66fb259da8b1e377826360be /engine/game_corner_slots2.asm
parentBankA misc functions (diff)
downloadpokeyellow-6dc1f939e1e97563928c22950d8fa618d892c32d.tar.gz
pokeyellow-6dc1f939e1e97563928c22950d8fa618d892c32d.tar.xz
pokeyellow-6dc1f939e1e97563928c22950d8fa618d892c32d.zip
bankB misc functions
ScaleSpriteByTwo, DisplayEffectiveness and CheckIfMoveIsKnown
Diffstat (limited to 'engine/game_corner_slots2.asm')
-rwxr-xr-xengine/game_corner_slots2.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/game_corner_slots2.asm b/engine/game_corner_slots2.asm
index 58386ba1..1bcbefb1 100755
--- a/engine/game_corner_slots2.asm
+++ b/engine/game_corner_slots2.asm
@@ -1,4 +1,4 @@
-AbleToPlaySlotsCheck: ; 2ff09 (b:7f09)
+AbleToPlaySlotsCheck: ; 2fdfd (b:7dfd)
ld a, [wSpriteStateData1 + 2]
and $8
jr z, .done ; not able
@@ -6,13 +6,13 @@ AbleToPlaySlotsCheck: ; 2ff09 (b:7f09)
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
@@ -22,10 +22,10 @@ AbleToPlaySlotsCheck: ; 2ff09 (b:7f09)
ld [wCanPlaySlots], a
ret
-GameCornerCoinCaseText: ; 2ff32 (b:7f32)
+GameCornerCoinCaseText: ; 2fe26 (b:7e26)
TX_FAR _GameCornerCoinCaseText
db "@"
-GameCornerNoCoinsText: ; 2ff37 (b:7f37)
+GameCornerNoCoinsText: ; 2fe2b (b:7e2b)
TX_FAR _GameCornerNoCoinsText
db "@"