shithub: pokered

Download patch

ref: 237f2896402058b1ce94867436686b936a6a54c6
parent: fc7ed05cb35385f1b89d5b36e244df76e88e2ce2
author: stag019 <stag019@gmail.com>
date: Thu Jan 19 19:26:32 EST 2012

Pokeblue: Another one bytes the dust!

hg-commit-id: 6e25d6a0163d


--- a/common.asm
+++ b/common.asm
@@ -10435,7 +10435,7 @@
 	ld a, [$d75b]
 	bit 7, a
 	jr nz, .asm_4ca20 ; 0x19682 $29
-	ld hl, $56d9
+	ld hl, UnnamedText_196d9
 	call PrintText
 	ld hl, $d72d
 	set 6, [hl]
@@ -10451,21 +10451,21 @@
 	ld [$d60f], a
 	jp $24d7
 .asm_4ca20 ; 0x196ad
-	ld hl, $56f3
+	ld hl, UnnamedText_196f3
 	call PrintText
 	ld bc, $e401
 	call GiveItem
 	jr c, .asm_8bbbd ; 0x196b9 $8
-	ld hl, $56e9
+	ld hl, UnnamedText_196e9
 	call PrintText
 	jr .asm_e4e6f ; 0x196c1 $13
 .asm_8bbbd ; 0x196c3
 	ld a, $1
 	ld [$cc3c], a
-	ld hl, $56de
+	ld hl, UnnamedText_196de
 	call PrintText
 	ld b, $1d
-	ld hl, $4872
+	ld hl, Unnamed_ASM_74872
 	call Bankswitch
 .asm_e4e6f ; 0x196d6
 	jp $24d7
@@ -45418,7 +45418,24 @@
 TheEndGfx: ; 473E
 	INCBIN "gfx/theend.2bpp"
 
-INCBIN "baserom.gbc",$747de,$74897 - $747de
+INCBIN "baserom.gbc",$747de,$74872 - $747de
+
+Unnamed_ASM_74872:	; code similar to this appears in a lot of banks; this particular
+	call $20EF		; one is called after you beat the Rocket that gives you TM28 DIG
+	ld a, $07		; the screen then fades out, he disappears, and fades back in
+	ld [$CC4D], a
+	ld a, $15
+	call $3E6D
+	ld a, $09
+	ld [$CC4D], a
+	ld a, $11
+	call $3E6D
+	ld a, $06
+	ld [$CC4D], a
+	ld a, $11
+	call Predef
+	call $20D1
+	ret
 
 ViridianGym_h: ; 0x74897 to 0x748a3 (12 bytes) (id=45)
 	db $07 ; tileset