mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-04-25 07:22:04 -05:00
Some checks failed
CI / build (push) Has been cancelled
* Started labelling dumped bank 1 functions, identified movement values * Changed all NPCs to use the new movement constants * Updated the rest of the movement constant instances, removed the old movement_constants.asm * Ready to deal the finishing blow to bank01.asm * Bank 01 is no more. Other scattered changes. * Labelled a few flags and matched a few variables with pokegold * Finished labelling bank02.asm too while I was at it
31 lines
426 B
PHP
31 lines
426 B
PHP
FieldDebug_UnusedSetPriority:
|
|
ld hl, .MenuHeader
|
|
call GetMenu2
|
|
jr c, .done
|
|
ld a, [wMenuCursorY]
|
|
cp 1
|
|
jr nz, .skip
|
|
ld a, 0
|
|
call SetObjFlags2_7_IfVisible
|
|
jr .done
|
|
|
|
.skip
|
|
ld a, 0
|
|
call ResetObjFlags2_7_IfVisible
|
|
.done
|
|
ld a, FIELDDEBUG_RETURN_REOPEN
|
|
ret
|
|
|
|
.MenuHeader:
|
|
db MENU_BACKUP_TILES
|
|
menu_coords 0, 0, 8, 6
|
|
dw .MenuData
|
|
db 1
|
|
|
|
.MenuData:
|
|
db STATICMENU_CURSOR
|
|
db 2
|
|
db "ゆうせん@"
|
|
db "ひゆうせん@"
|
|
|