summaryrefslogtreecommitdiff
path: root/engine/card_flip.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-12-28 19:34:43 -0500
committerGitHub <noreply@github.com>2017-12-28 19:34:43 -0500
commit82a05a1752b476caab8951fe03f539dcc1a63669 (patch)
tree972f867159ded40695e868338bb697a303335b62 /engine/card_flip.asm
parente2b378f5e32ea1416fbc9ac5e96d23be244e4a6b (diff)
parent50fc9c3389ae8130d3670683f22f3e49555c57a3 (diff)
Merge pull request #443 from xCrystal/master
Misc style cleanup and documentation
Diffstat (limited to 'engine/card_flip.asm')
-rwxr-xr-xengine/card_flip.asm18
1 files changed, 9 insertions, 9 deletions
diff --git a/engine/card_flip.asm b/engine/card_flip.asm
index ef48283de..f03db190d 100755
--- a/engine/card_flip.asm
+++ b/engine/card_flip.asm
@@ -16,20 +16,20 @@ _CardFlip: ; e00ee (38:40ee)
call LoadFontsExtra
ld hl, CardFlipLZ01
- ld de, VTiles2 tile $00
+ ld de, vTiles2 tile $00
call Decompress
ld hl, CardFlipLZ02
- ld de, VTiles2 tile $3e
+ ld de, vTiles2 tile $3e
call Decompress
ld hl, CardFlipLZ03
- ld de, VTiles0 tile $00
+ ld de, vTiles0 tile $00
call Decompress
ld hl, CardFlipOffButtonGFX
- ld de, VTiles1 tile $6f
+ ld de, vTiles1 tile $6f
ld bc, 1 tiles
call CopyBytes
ld hl, CardFlipOnButtonGFX
- ld de, VTiles1 tile $75
+ ld de, vTiles1 tile $75
ld bc, 1 tiles
call CopyBytes
@@ -619,11 +619,11 @@ CardFlip_CopyOAM: ; e0509
; e0521
CardFlip_ShiftDigitsLeftTwoPixels: ; e0521 (38:4521)
- ld de, VTiles1 tile ("0" & $7f)
- ld hl, VTiles1 tile ("0" & $7f) + 2
+ ld de, vTiles1 tile ("0" & $7f)
+ ld hl, vTiles1 tile ("0" & $7f) + 2
ld bc, 10 tiles - 2
call CopyBytes
- ld hl, VTiles1 tile $7f + 1 tiles - 2
+ ld hl, vTiles1 tile $7f + 1 tiles - 2
xor a
ld [hli], a
ld [hl], a
@@ -1413,7 +1413,7 @@ else
dbpixel \1, \2
dw \3
endc
-endm
+ENDM
cardflip_cursor 11, 2, .Impossible
cardflip_cursor 12, 2, .Impossible