From 3a6e587121e4eed23545d1911bb5a05cd4f95f6b Mon Sep 17 00:00:00 2001 From: IIMarckus Date: Thu, 25 Jul 2013 06:33:28 -0600 Subject: [PATCH] Add Time Capsule item conversions. From http://forums.glitchcity.info/index.php/topic,6719.msg190623/topicseen.html#msg190623 --- main.asm | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/main.asm b/main.asm index 88a3e193d..de8386ac3 100644 --- a/main.asm +++ b/main.asm @@ -10053,7 +10053,28 @@ INCBIN "baserom.gbc", $27a28, $27a2d - $27a28 SECTION "bankA",DATA,BANK[$A] -INCBIN "baserom.gbc", $28000, $2a2a0 - $28000 +INCBIN "baserom.gbc", $28000, $28785 - $28000 + +TimeCapsuleItemConversions: ; 0x28785 +; Pokémon traded from RBY do not have held items, so GSC usually interprets the +; catch rate as an item. However, if the catch rate appears in this table, the +; item associated with the table entry is used instead. + + db 25, LEFTOVERS + db 45, BITTER_BERRY + db 50, GOLD_BERRY + db 90, BERRY + db 100, BERRY + db 120, BERRY + db 135, BERRY + db 190, BERRY + db 195, BERRY + db 220, BERRY + db 250, BERRY + db 255, BERRY + db 0 + +INCBIN "baserom.gbc", $2879e, $2a2a0 - $2879e SpecialRoamMons: ; 2a2a0 ; initialize RoamMon structs