johnjohto
c2334f2f91
Gate overworld buttons on the completed step ( #286 )
...
OverworldLoop (home/overworld.asm) jumps straight to .moveAhead while
wWalkCounter is nonzero: JoypadOverworld -- the START check, the A
check, and direction initiation -- only ever runs while the player
stands on a tile, and a button pressed mid-step is simply never seen.
The port ran handleInput() every frame regardless, so a mid-step
A/START pushed its TextBox/StartMenu right there and froze Red between
tiles, mid-animation (the Nurse Joy run-up in the report).
Gate handleInput on player.moving like the original. The port-invented
wall-bonk SFX cooldown is hoisted above the gate so it keeps ticking on
held-direction frames mid-step exactly as before.
Adds tests/parity_midstep_buttons.lua: mid-step and last-frame A/START
presses are swallowed and the step completes, and both buttons work
again once the player stands on the tile.
2026-07-28 08:07:17 -04:00
..
2026-07-19 16:18:18 -04:00
2026-07-27 13:37:05 -04:00
2026-07-27 22:08:57 -04:00
2026-07-19 16:18:18 -04:00
2026-07-19 16:18:18 -04:00
2026-07-27 07:06:53 -04:00
2026-07-17 20:30:02 -04:00
2026-07-19 16:18:18 -04:00
2026-07-27 10:04:35 -04:00
2026-07-19 16:18:18 -04:00
2026-07-22 12:28:51 -04:00
2026-07-25 12:36:53 -04:00
2026-07-23 15:17:20 -04:00
2026-07-25 12:36:53 -04:00
2026-07-26 14:11:07 -04:00
2026-07-19 16:18:18 -04:00
2026-07-23 16:55:03 -04:00
2026-07-27 08:37:11 -04:00
2026-07-24 10:12:27 -04:00
2026-07-19 16:18:18 -04:00
2026-07-19 16:18:18 -04:00
2026-07-25 12:36:53 -04:00
2026-07-27 13:37:05 -04:00
2026-07-19 16:18:18 -04:00
2026-07-25 12:36:53 -04:00
2026-07-27 10:04:35 -04:00
2026-07-24 09:06:29 -04:00
2026-07-19 16:18:18 -04:00
2026-07-27 13:37:05 -04:00
2026-07-27 22:42:47 -04:00
2026-07-27 22:42:47 -04:00
2026-07-27 10:04:35 -04:00
2026-07-25 12:36:53 -04:00
2026-07-25 12:36:53 -04:00
2026-07-24 09:06:29 -04:00
2026-07-21 05:50:40 -04:00
2026-07-27 13:37:05 -04:00
2026-07-24 09:26:43 -04:00
2026-07-23 15:42:54 -04:00
2026-07-24 09:06:29 -04:00
2026-07-23 16:55:03 -04:00
2026-07-25 12:36:53 -04:00
2026-07-23 15:42:54 -04:00
2026-07-21 14:52:45 -04:00
2026-07-19 16:18:18 -04:00
2026-07-25 12:36:53 -04:00
2026-07-24 09:06:29 -04:00
2026-07-21 05:50:40 -04:00
2026-07-24 09:06:29 -04:00
2026-07-19 16:18:18 -04:00
2026-07-27 13:37:05 -04:00
2026-07-27 13:37:05 -04:00
2026-07-19 16:18:18 -04:00
2026-07-19 16:18:18 -04:00
2026-07-24 09:26:43 -04:00
2026-07-26 13:38:52 -04:00
2026-07-26 13:38:52 -04:00
2026-07-27 13:37:05 -04:00
2026-07-27 22:42:47 -04:00
2026-07-19 16:18:18 -04:00
2026-07-24 09:06:29 -04:00
2026-07-24 09:06:29 -04:00
2026-07-19 16:18:18 -04:00
2026-07-24 09:06:29 -04:00
2026-07-23 16:55:03 -04:00
2026-07-25 12:36:53 -04:00
2026-07-21 05:50:40 -04:00
2026-07-28 08:07:17 -04:00
2026-07-23 16:55:03 -04:00
2026-07-24 09:26:43 -04:00
2026-07-23 16:55:03 -04:00
2026-07-24 09:06:29 -04:00
2026-07-25 12:36:53 -04:00
2026-07-27 13:37:05 -04:00
2026-07-24 09:06:29 -04:00
2026-07-25 12:36:53 -04:00
2026-07-25 12:36:53 -04:00
2026-07-21 05:50:40 -04:00
2026-07-23 16:55:03 -04:00
2026-07-19 16:18:18 -04:00
2026-07-24 09:06:29 -04:00
2026-07-27 13:37:05 -04:00
2026-07-27 13:37:05 -04:00
2026-07-19 16:18:18 -04:00
2026-07-24 09:26:43 -04:00
2026-07-27 13:37:05 -04:00
2026-07-25 12:36:53 -04:00
2026-07-25 12:36:53 -04:00
2026-07-19 16:18:18 -04:00
2026-07-24 09:06:29 -04:00
2026-07-27 09:05:57 -04:00
2026-07-25 12:36:53 -04:00
2026-07-23 16:55:03 -04:00
2026-07-19 16:18:18 -04:00
2026-07-19 16:18:18 -04:00
2026-07-26 13:38:52 -04:00
2026-07-27 08:37:11 -04:00
2026-07-27 10:04:35 -04:00
2026-07-27 20:44:09 -04:00
2026-07-25 12:36:53 -04:00
2026-07-27 10:04:35 -04:00
2026-07-17 20:30:02 -04:00
2026-07-17 20:30:02 -04:00
2026-07-17 20:30:02 -04:00
2026-07-27 07:06:53 -04:00