You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
Resolve #461
This commit is contained in:
@@ -43,26 +43,26 @@ Special_CelebiShrineEvent: ; 4989a
|
||||
.done
|
||||
pop af
|
||||
ld [VramState], a
|
||||
call .RefreshPlayerSprite_ClearAllOthers
|
||||
call .RestorePlayerSprite_DespawnLeaves
|
||||
call CelebiEvent_SetBattleType
|
||||
ret
|
||||
|
||||
; 498f9
|
||||
|
||||
.RefreshPlayerSprite_ClearAllOthers: ; 498f9
|
||||
ld hl, Sprites + 2
|
||||
.RestorePlayerSprite_DespawnLeaves: ; 498f9
|
||||
ld hl, Sprite01TileID
|
||||
xor a
|
||||
ld c, $4
|
||||
ld c, 4
|
||||
.OAMloop:
|
||||
ld [hli], a
|
||||
inc hl
|
||||
inc hl
|
||||
ld [hli], a ; tile id
|
||||
rept SPRITEOAMSTRUCT_LENGTH +- 1
|
||||
inc hl
|
||||
endr
|
||||
inc a
|
||||
dec c
|
||||
jr nz, .OAMloop
|
||||
ld hl, Sprites + 4 * 4
|
||||
ld bc, 36 * 4
|
||||
ld hl, Sprite05
|
||||
ld bc, SpritesEnd - Sprite05
|
||||
xor a
|
||||
call ByteFill
|
||||
ret
|
||||
|
||||
Reference in New Issue
Block a user