summaryrefslogtreecommitdiff
path: root/engine/predefs12.asm
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-07-03 16:03:10 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-07-03 16:03:10 -0500
commitec4c53559379f3bf7bd332905ba144e1d998f38b (patch)
treef8ee8f2d9c8042b55edb1a4761833511ab1695b1 /engine/predefs12.asm
parentc43c338a5f7d90494b7e6e67c6533288bd28117d (diff)
parent5d9d26bd5c64a5b11021bdd46e2e0786ddef888d (diff)
Merge pull request #98 from dannye/master
Renaming and clean up
Diffstat (limited to 'engine/predefs12.asm')
-rwxr-xr-xengine/predefs12.asm20
1 files changed, 10 insertions, 10 deletions
diff --git a/engine/predefs12.asm b/engine/predefs12.asm
index 90032a14..f318447e 100755
--- a/engine/predefs12.asm
+++ b/engine/predefs12.asm
@@ -4,7 +4,7 @@ ChangeBGPalColor0_4Frames: ; 480eb (12:40eb)
ld a, [rBGP]
or b
ld [rBGP], a
- ld c, $4
+ ld c, 4
call DelayFrames
ld a, [rBGP]
and %11111100
@@ -17,7 +17,7 @@ Func_480ff: ; 480ff (12:40ff)
ld [wd0a0], a
xor a
.asm_48108
- ld [H_NUMTOPRINT], a ; $ff96 (aliases: H_MULTIPLICAND)
+ ld [H_NUMTOPRINT], a ; (aliases: H_MULTIPLICAND)
call Func_48119
call Func_48119
dec b
@@ -28,11 +28,11 @@ Func_480ff: ; 480ff (12:40ff)
ret
Func_48119: ; 48119 (12:4119)
- ld a, [H_NUMTOPRINT] ; $ff96 (aliases: H_MULTIPLICAND)
+ ld a, [H_NUMTOPRINT] ; (aliases: H_MULTIPLICAND)
xor b
- ld [H_NUMTOPRINT], a ; $ff96 (aliases: H_MULTIPLICAND)
- ld [rWY], a ; $ff4a
- ld c, $3
+ ld [H_NUMTOPRINT], a ; (aliases: H_MULTIPLICAND)
+ ld [rWY], a
+ ld c, 3
jp DelayFrames
Func_48125: ; 48125 (12:4125)
@@ -41,14 +41,14 @@ Func_48125: ; 48125 (12:4125)
.asm_48129
ld [$ff97], a
call Func_4813f
- ld c, $1
+ ld c, 1
call DelayFrames
call Func_4813f
dec b
ld a, b
jr nz, .asm_48129
ld a, $7
- ld [rWX], a ; $ff4b
+ ld [rWX], a
ret
Func_4813f: ; 4813f (12:413f)
@@ -60,6 +60,6 @@ Func_4813f: ; 4813f (12:413f)
xor a
.asm_48149
add $7
- ld [rWX], a ; $ff4b
- ld c, $4
+ ld [rWX], a
+ ld c, 4
jp DelayFrames