Files
zelda-1-prometeu-port/tools/fixtures/bomb_route/link.pbs
T

6 lines
324 B
Plaintext

declare service BombRouteLinkChecks {
fn position(x: int,y: int) -> void { controller.place_for_stage(state,x,y,2,true); vitals.reset(); }
fn hit(x: int,y: int) -> void { beam.x=x; beam.y=y; beam.phase=16; beam.direction=1; }
fn bomb() -> bool { Inventory.ensure_selection(); Link.use_b(true); return bomb0.phase==1; }
}