You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Prefix wram labels with w, part 1.
Handle edge cases first.
This commit is contained in:
@@ -223,7 +223,7 @@ SlotsLoop: ; 927af (24:67af)
|
||||
|
||||
.PrintCoinsAndPayout: ; 927f8 (24:67f8)
|
||||
hlcoord 5, 1
|
||||
ld de, Coins
|
||||
ld de, wCoins
|
||||
lb bc, PRINTNUM_LEADINGZEROS | 2, 4
|
||||
call PrintNum
|
||||
hlcoord 11, 1
|
||||
@@ -480,7 +480,7 @@ SlotsAction_PayoutAnim: ; 929a4 (24:69a4)
|
||||
ld [hl], e
|
||||
dec hl
|
||||
ld [hl], d
|
||||
ld hl, Coins
|
||||
ld hl, wCoins
|
||||
ld d, [hl]
|
||||
inc hl
|
||||
ld e, [hl]
|
||||
@@ -1819,7 +1819,7 @@ Slots_AskBet: ; 9307c (24:707c)
|
||||
ld a, 4
|
||||
sub b
|
||||
ld [wSlotBet], a
|
||||
ld hl, Coins
|
||||
ld hl, wCoins
|
||||
ld c, a
|
||||
ld a, [hli]
|
||||
and a
|
||||
@@ -1832,7 +1832,7 @@ Slots_AskBet: ; 9307c (24:707c)
|
||||
jr .loop
|
||||
|
||||
.Start:
|
||||
ld hl, Coins + 1
|
||||
ld hl, wCoins + 1
|
||||
ld a, [hl]
|
||||
sub c
|
||||
ld [hld], a
|
||||
@@ -1883,7 +1883,7 @@ Slots_AskBet: ; 9307c (24:707c)
|
||||
; 0x930e9
|
||||
|
||||
Slots_AskPlayAgain: ; 930e9 (24:70e9)
|
||||
ld hl, Coins
|
||||
ld hl, wCoins
|
||||
ld a, [hli]
|
||||
or [hl]
|
||||
jr nz, .you_have_coins
|
||||
|
||||
Reference in New Issue
Block a user