chore: version Zelda 1 port and engineering records
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { InventoryChecks } from @zelda1:inventory;
|
||||
import { Pad, Button } from @sdk:input;
|
||||
declare global visual: bool=false;
|
||||
[Init] fn init() -> void {}
|
||||
[Frame] fn frame() -> void {
|
||||
if Pad.pressed(Button.Select) { visual=!visual; if visual { InventoryChecks.visual(); } }
|
||||
if visual { InventoryChecks.draw(); } else { InventoryChecks.frame(); }
|
||||
}
|
||||
Reference in New Issue
Block a user