ref: 3619b13d6c482d1ba864d002b96e00b5819bfc6d
parent: adc41566aa1dcedb31214756e0873d641bad5a0e
author: yenatch <[email protected]>
date: Thu Feb 12 13:26:54 EST 2015
Fix some halts that were dumped as "db $76".
--- a/main.asm
+++ b/main.asm
@@ -93010,8 +93010,7 @@
ret z
xor a
ld [rIF], a ; $ff00+$f
- db $76 ;halt (prevents rgbasm from putting in an extra nop)
- nop
+ halt
ld a, [$ff00+c]
bit 1, a
jr z, Function104da9
@@ -93023,8 +93022,7 @@
ret z
xor a
ld [rIF], a ; $ff00+$f
- db $76 ;halt (prevents rgbasm from putting in an extra nop)
- nop
+ halt
ld a, [$ff00+c]
bit 1, a
jr nz, Function104db7
@@ -93039,8 +93037,7 @@
ret z
xor a
ld [rIF], a ; $ff00+$f
- db $76 ;halt (prevents rgbasm from putting in an extra nop)
- nop
+ halt
jr .asm_104dc8
Function104dd1: ; 104dd1 (41:4dd1)
@@ -93051,8 +93048,7 @@
ret z
xor a
ld [rIF], a ; $ff00+$f
- db $76 ;halt (prevents rgbasm from putting in an extra nop)
- nop
+ halt
jr .asm_104dd4
Function104ddd: ; 104ddd (41:4ddd)
@@ -93219,8 +93215,7 @@
.asm_104f02
xor a
ld [rIF], a ; $ff00+$f
- db $76 ;halt (prevents rgbasm from putting in an extra nop)
- nop
+ halt
ld a, $c1
ld [rRP], a ; $ff00+$56
ld d, $1
@@ -93239,8 +93234,7 @@
jr z, .asm_104f25
xor a
ld [rIF], a ; $ff00+$f
- db $76 ;halt (prevents rgbasm from putting in an extra nop)
- nop
+ halt
.asm_104f25
ld a, [$ffb6]
dec a
@@ -93252,8 +93246,7 @@
ld [rTMA], a ; $ff00+$6
xor a
ld [rIF], a ; $ff00+$f
- db $76 ;halt (prevents rgbasm from putting in an extra nop)
- nop
+ halt
ld d, $5
call Function104dc5
ld d, $11