summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2013-07-25 06:33:28 -0600
committerIIMarckus <iimarckus@gmail.com>2013-07-25 06:33:28 -0600
commit3a6e587121e4eed23545d1911bb5a05cd4f95f6b (patch)
treed4a78fa93ee3f2ab29229f5903b99ff62dbc64b9
parentbb8990dc3cb19787e08c29409cfc674e2478fbc9 (diff)
Add Time Capsule item conversions.
From http://forums.glitchcity.info/index.php/topic,6719.msg190623/topicseen.html#msg190623
-rw-r--r--main.asm23
1 files changed, 22 insertions, 1 deletions
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