You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Fix some pokecrystal bug and glitches (#8)
Credits sequence changes move selection menu behavior; Swimming NPCs aren't limited by their movement radius; No bump noise if standing on tile E; The unused phonecall script command may crash; ScriptCall can overflow wScriptStack and crash; LoadSpriteGFX does not limit the capacity of UsedSprites; ReadObjectEvents overflows into wObjectMasks; ClearWRAM only clears WRAM bank 1; BattleAnimCmd_ClearObjs only clears the first 6⅔ objects; Options menu fails to clear joypad state on initialization
This commit is contained in:
@@ -73,11 +73,13 @@ Credits::
|
||||
|
||||
call GetCreditsPalette
|
||||
call SetPalettes
|
||||
; BUG: Credits sequence changes move selection menu behavior (see docs/bugs_and_glitches.md)
|
||||
|
||||
ldh a, [hVBlank]
|
||||
push af
|
||||
ld a, $5
|
||||
ldh [hVBlank], a
|
||||
ldh a, [hInMenu]
|
||||
push af
|
||||
ld a, TRUE
|
||||
ldh [hInMenu], a
|
||||
xor a
|
||||
@@ -101,6 +103,8 @@ Credits::
|
||||
ldh [hLCDCPointer], a
|
||||
ldh [hBGMapAddress], a
|
||||
pop af
|
||||
ldh [hInMenu], a
|
||||
pop af
|
||||
ldh [hVBlank], a
|
||||
pop af
|
||||
ldh [rSVBK], a
|
||||
|
Reference in New Issue
Block a user