diff options
author | IIMarckus <iimarckus@gmail.com> | 2012-07-06 22:01:34 -0600 |
---|---|---|
committer | IIMarckus <iimarckus@gmail.com> | 2012-07-06 22:01:34 -0600 |
commit | 7494644c9a7b49fca0d79ead23013bbddf181bbb (patch) | |
tree | fbe69a6cfaead1e8d37e95f84e2c697b963dbdb1 | |
parent | e29988a362ba421c417a1a2dc4c08afcb0889f34 (diff) |
Add the Trainer House flag check special (0x67).
-rw-r--r-- | main.asm | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -661,7 +661,7 @@ SpecialsPointers: ; 0xc029 dbw $03,$4472 dbw $09,$65ee dbw BANK(SpecialGameboyCheck),SpecialGameboyCheck - dbw $03,$44b9 + dbw BANK(SpecialTrainerHouse),SpecialTrainerHouse dbw $05,$6dc7 dbw $0a,$62a0 dbw $03,$448f @@ -800,7 +800,16 @@ SpecialGameboyCheck: ; 0xc478 ld [$c2dd], a ret -INCBIN "baserom.gbc",$c48f,$c5d2 - $c48f +INCBIN "baserom.gbc",$c48f,$c4b9 - $c48f + +SpecialTrainerHouse: ; 0xc4b9 + ld a, 0 + call Function2fcb + ld a, [$abfd] ; XXX what is this memory location? + ld [$c2dd], a + jp Function2fe1 + +INCBIN "baserom.gbc",$c4c7,$c5d2 - $c4c7 PrintNumber_PrintDigit: ; c5d2 INCBIN "baserom.gbc",$c5d2,$c644 - $c5d2 |