shithub: pokecrystal

Download patch

ref: d54725c28e06edd002141608b208c5d9b58b5806
parent: 64331ffe1002d2cef7e209193470a60f2c309dad
author: IIMarckus <iimarckus@gmail.com>
date: Sun Mar 29 17:29:48 EDT 2015

Comment alternate Time Capsule item mappings.

--- a/main.asm
+++ b/main.asm
@@ -30552,7 +30552,7 @@
 	and a
 	ret z
 	push hl
-	ld hl, Unknown_28785
+	ld hl, .TimeCapsuleAlt
 .asm_28778
 	ld a, [hli]
 	and a
@@ -30568,10 +30568,11 @@
 .asm_28783
 	pop hl
 	ret
-; 28785
 
-Unknown_28785: ; 28785
-; Alternate mappings for unused items.
+.TimeCapsuleAlt ; 28785
+; 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 ITEM_19, LEFTOVERS
 	db ITEM_2D, BITTER_BERRY
 	db ITEM_32, GOLD_BERRY