engine/events.asm labels finished

fixed palred/green/blue macros
This commit is contained in:
pikalaxalt
2016-05-17 08:40:42 -04:00
parent 2eeb78d1bc
commit 98f443f70c
9 changed files with 65 additions and 71 deletions

View File

@@ -458,7 +458,7 @@ HandleQueuedCommand: ; 97e79
.okay
ld e, a
ld d, 0
ld hl, .Jumptable_ba
ld hl, .Jumptable
add hl, de
add hl, de
add hl, de
@@ -472,7 +472,7 @@ HandleQueuedCommand: ; 97e79
ret
; 97e94
.Jumptable_ba: ; 97e94
.Jumptable: ; 97e94
dba CmdQueue_Null
dba CmdQueue_Null2
dba CmdQueue_StoneTable
@@ -531,9 +531,9 @@ CmdQueue_Type4: ; 97ebc
ld a, [hl]
dec a
ld [hl], a
jr z, .asm_97eee
jr z, .finish
and $1
jr z, .asm_97ee4
jr z, .add
ld hl, 2
add hl, bc
ld a, [hSCY]
@@ -541,7 +541,7 @@ CmdQueue_Type4: ; 97ebc
ld [hSCY], a
ret
.asm_97ee4
.add
ld hl, 2
add hl, bc
ld a, [hSCY]
@@ -549,7 +549,7 @@ CmdQueue_Type4: ; 97ebc
ld [hSCY], a
ret
.asm_97eee
.finish
ld hl, 4
add hl, bc
ld a, [hl]