From b17553218bd5a60231a55ebc57c8ffd3523f5a99 Mon Sep 17 00:00:00 2001 From: yenatch Date: Wed, 4 Jun 2014 00:34:01 -0700 Subject: [PATCH] Add a dereferenced stats screen function. This was probably used in the stats screen in JP versions. It fell out of use when the stats screen layout was redon in localization. --- main.asm | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/main.asm b/main.asm index 8aa288d48..edcb422fe 100644 --- a/main.asm +++ b/main.asm @@ -57412,7 +57412,7 @@ Function4df66: ; 4df66 (13:5f66) callba GetGender pop hl ret c - ld a, "♂"" + ld a, "♂" jr nz, .asm_4df75 ld a, "♀" .asm_4df75 @@ -57421,12 +57421,29 @@ Function4df66: ; 4df66 (13:5f66) ; 4df77 (13:5f77) Unknown_4df77: ; 4df77 -INCBIN "baserom.gbc",$4df77,$4df8f - $4df77 + dw $de41 + dw $d3ea + dw $b082 + dw $d002 +; 4df7f + +Function4df7f: ; 4df7f + ld hl, $c4a7 + ld bc, 20 + ld d, 18 +.asm_4df87 + ld a, $31 + ld [hl], a + add hl, bc + dec d + jr nz, .asm_4df87 + ret +; 4df8f ; known jump sources: 4df3b (13:5f3b), 4e348 (13:6348) Function4df8f: ; 4df8f (13:5f8f) ld hl, $c52c - ld b, $14 + ld b, 20 ld a, $62 .asm_4df96 ld [hli], a