From cd4c3f1d908d7a8681aff818a9c73c6e25e690c1 Mon Sep 17 00:00:00 2001 From: Sawakita Date: Thu, 12 Jan 2012 20:59:03 +0100 Subject: Add routine that ends text-scripts ($24D7). hg-commit-id: 89e0ea79b7ff --- pokered.asm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pokered.asm b/pokered.asm index 82011dd5..015348e2 100644 --- a/pokered.asm +++ b/pokered.asm @@ -1002,7 +1002,13 @@ MartInventories: ; 2442 db $FE,7,ULTRA_BALL,GREAT_BALL,FULL_RESTORE,MAX_POTION,FULL_HEAL db REVIVE,MAX_REPEL,$FF -INCBIN "baserom.gbc",$24d6,$24e5 - $24d6 +TextScriptEndingChar: + db "@" +TextScriptEnd: + ld hl,TextScriptEndingChar + ret + +INCBIN "baserom.gbc",$24DB,$24E5 - $24DB VictoryRoad3Text10: VictoryRoad3Text9: -- cgit v1.3.1-sl0p From 112b90ab0b9855101ddef0713b6d8f7ab59ffe00 Mon Sep 17 00:00:00 2001 From: Sawakita Date: Thu, 12 Jan 2012 21:10:31 +0100 Subject: Minor improving. hg-commit-id: eaefcd6e5feb --- pokered.asm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pokered.asm b/pokered.asm index 015348e2..f9cd9692 100644 --- a/pokered.asm +++ b/pokered.asm @@ -1300,7 +1300,7 @@ LoadTrainerHeader: ; 0x31cc jr z, .asm_c2964 ; 0x31e3 $8 ld a, $6 call $3193 - jp $3c49 + jp PrintText .asm_c2964 ; 0x31ed ld a, $4 call $3193 @@ -1614,7 +1614,8 @@ PrintText: ; 3C49 call $2429 call Delay3 pop hl - ld bc,$C4B9 + FuncCoord 1,14 + ld bc,Coord ;$C4B9 jp $1B40 Func3C5F: ; 3C5F -- cgit v1.3.1-sl0p