diff options
author | YamaArashi <shadow962@live.com> | 2015-03-13 05:33:16 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-03-13 05:36:34 -0700 |
commit | 1115b4454db645d2ebaa9e9f1fdd9ea86c1c4e44 (patch) | |
tree | 78b1441c8db2c5b300de1e9bbd9e8aa33f45a522 /engine/menu/party_menu.asm | |
parent | 1c2a1076cb6420f12b458809bf2bec2737ce82ae (diff) |
commented mon_party_sprites.asm
Diffstat (limited to 'engine/menu/party_menu.asm')
-rwxr-xr-x | engine/menu/party_menu.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/menu/party_menu.asm b/engine/menu/party_menu.asm index 97e520c2..7c163166 100755 --- a/engine/menu/party_menu.asm +++ b/engine/menu/party_menu.asm @@ -22,7 +22,7 @@ DrawPartyMenu_: ; 12cd2 (4:6cd2) ld [H_AUTOBGTRANSFERENABLED],a call ClearScreen call UpdateSprites ; move sprites - callba Func_71791 ; load pokemon icon graphics + callba LoadMonPartySpriteTilePatternsWithLCDDisabled ; load pokemon icon graphics RedrawPartyMenu_: ; 12ce3 (4:6ce3) ld a,[wd07d] @@ -34,7 +34,7 @@ RedrawPartyMenu_: ; 12ce3 (4:6ce3) ld de,wPartySpecies xor a ld c,a - ld [$FF8C],a ; loop counter + ld [hPartyMonIndex],a ld [wcf2d],a .loop ld a,[de] @@ -49,11 +49,11 @@ RedrawPartyMenu_: ; 12ce3 (4:6ce3) call GetPartyMonName pop hl call PlaceString ; print the pokemon's name - callba Func_71868 ; place the appropriate pokemon icon - ld a,[$FF8C] ; loop counter + callba WriteMonPartySpriteOAMByPartyIndex ; place the appropriate pokemon icon + ld a,[hPartyMonIndex] ld [wWhichPokemon],a inc a - ld [$FF8C],a + ld [hPartyMonIndex],a call LoadMonData pop hl push hl |