diff options
author | IIMarckus <iimarckus@gmail.com> | 2011-07-31 00:45:50 -0600 |
---|---|---|
committer | IIMarckus <iimarckus@gmail.com> | 2011-07-31 00:45:50 -0600 |
commit | 4416e9598887a50d12904b9ee2bf65e275e80930 (patch) | |
tree | fe057c09e2ba9797323fc829ba4573c9a9b5ce86 | |
parent | 4771aa05039c2117b78c05e5c44b5e8254b62e25 (diff) |
Add $58 to the dictionary.
This is a very strange character and should be looked at more closely.
hg-commit-id: 11758d86cc50
-rw-r--r-- | pokered.asm | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/pokered.asm b/pokered.asm index 09b7b491..be723780 100644 --- a/pokered.asm +++ b/pokered.asm @@ -541,7 +541,7 @@ PlaceNextChar: ; 1956 cp $57 jp z,$1AAD cp $58 - jp z,$1A95 + jp z,Char58 cp $4A jp z,Char4A cp $5F @@ -695,8 +695,26 @@ Char5F: pop hl ret -; 1A95 -INCBIN "baserom.gbc",$1A95,$20AF - $1A95 +Char58: + ld a,[$D12B] + cp 4 + jp z,Next1AA2 + ld a,$EE + ld [$C4F2],a +Next1AA2: + call $1B3A + call $3898 + ld a,$7F + ld [$C4F2],a + pop hl + ld de,Char58Text + dec de + ret + +Char58Text: + db $50 + +INCBIN "baserom.gbc",$1AB4,$20AF - $1AB4 DelayFrame: ; 20AF ; delay for one frame |