pokegold-spaceworld/engine/debug/field/unused_priority_menu.asm
Narishma-gb e88fe24e15
Use the same Makefile build system as Gen 1+2 repos (#163)
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>
2026-07-05 15:36:09 -04:00

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 "ひゆうせん@"