You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Clean up WRAM, SRAM, and HRAM space (#6)
This commit is contained in:
@@ -39,8 +39,8 @@ LoadMenuMonIcon:
|
||||
dw NamingScreen_InitAnimatedMonIcon ; MONICON_NAMINGSCREEN
|
||||
dw MoveList_InitAnimatedMonIcon ; MONICON_MOVES
|
||||
dw Trade_LoadMonIconGFX ; MONICON_TRADE
|
||||
dw Mobile_InitAnimatedMonIcon ; MONICON_MOBILE1
|
||||
dw Mobile_InitPartyMenuBGPal71 ; MONICON_MOBILE2
|
||||
dw Unused_GetPartyMenuMonIcon ; MONICON_MOBILE1
|
||||
dw Unused_GetPartyMenuMonIcon ; MONICON_MOBILE2
|
||||
dw Unused_GetPartyMenuMonIcon ; MONICON_UNUSED
|
||||
|
||||
Unused_GetPartyMenuMonIcon:
|
||||
@@ -80,43 +80,6 @@ Unused_GetPartyMenuMonIcon:
|
||||
ld [hl], a
|
||||
ret
|
||||
|
||||
Mobile_InitAnimatedMonIcon:
|
||||
call PartyMenu_InitAnimatedMonIcon
|
||||
ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID
|
||||
add hl, bc
|
||||
ld a, SPRITE_ANIM_SEQ_NULL
|
||||
ld [hl], a
|
||||
ld hl, SPRITEANIMSTRUCT_XCOORD
|
||||
add hl, bc
|
||||
ld a, 9 * 8
|
||||
ld [hl], a
|
||||
ld hl, SPRITEANIMSTRUCT_YCOORD
|
||||
add hl, bc
|
||||
ld a, 9 * 8
|
||||
ld [hl], a
|
||||
ret
|
||||
|
||||
Mobile_InitPartyMenuBGPal71:
|
||||
call InitPartyMenuIcon
|
||||
call SetPartyMonIconAnimSpeed
|
||||
ld hl, SPRITEANIMSTRUCT_ANIM_SEQ_ID
|
||||
add hl, bc
|
||||
ld a, SPRITE_ANIM_SEQ_NULL
|
||||
ld [hl], a
|
||||
ld hl, SPRITEANIMSTRUCT_XCOORD
|
||||
add hl, bc
|
||||
ld a, 3 * 8
|
||||
ld [hl], a
|
||||
ld hl, SPRITEANIMSTRUCT_YCOORD
|
||||
add hl, bc
|
||||
ld a, 12 * 8
|
||||
ld [hl], a
|
||||
ld a, c
|
||||
ld [wc608], a
|
||||
ld a, b
|
||||
ld [wc608 + 1], a
|
||||
ret
|
||||
|
||||
PartyMenu_InitAnimatedMonIcon:
|
||||
call InitPartyMenuIcon
|
||||
call .SpawnItemIcon
|
||||
|
Reference in New Issue
Block a user