diff options
-rw-r--r-- | Add-a-new-party-menu-icon.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Add-a-new-party-menu-icon.md b/Add-a-new-party-menu-icon.md index 5203055..00001b6 100644 --- a/Add-a-new-party-menu-icon.md +++ b/Add-a-new-party-menu-icon.md @@ -121,7 +121,6 @@ Edit [gfx/icons.asm](../blob/master/gfx/icons.asm): One section, "Mon Icons 1", contains icons #1 to #128. The next, "Mon Icons 2", contains #129 to #251 and Egg. When you run `make` they'll automatically be placed in banks that fit. Make sure the species are separated in order, so that we can tell which section a Pokémon's icon belongs in just by whether its species is greater than 128. - Now edit [engine/gfx/mon_icons.asm](../blob/master/engine/gfx/mon_icons.asm): ```diff @@ -160,10 +159,10 @@ Now edit [engine/gfx/mon_icons.asm](../blob/master/engine/gfx/mon_icons.asm): ; 8ea3f + +GetIconBank: -+ cp MAGIKARP ; lowest species in "Mon Icons 2" + lb bc, BANK(Icons1), 8 ++ cp MAGIKARP ; lowest species in "Mon Icons 2" + ret c -+ lb bc, BANK(Icons2), 8 ++ ld b, BANK(Icons2) + ret ``` |