mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-08-08 11:18:13 -05:00
This uses catch-all files like main.asm to reduce the total quantity and size of build objects (from 1.1 GB to 70 MB). --------- Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
30 lines
425 B
NASM
30 lines
425 B
NASM
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 "ひゆうせん@"
|