Say that the sprint button's B puts the weapon away when Link is not moving, not that it attacks.

This commit is contained in:
kendo
2026-11-13 00:35:30 +00:00
committed by chrg6
parent 54fa3bc0c7
commit aab082ff51
5 changed files with 8 additions and 8 deletions

View File

@@ -172,7 +172,7 @@ int main(int argc, char **argv) {
assert(!dashing());
}
// toggle on the bottom button: a sword press while not moving reaches the game and starts nothing
// toggle on the bottom button: a press while not moving (put the weapon away) reaches the game and starts nothing
reset("b", "toggle");
assert(frame(BB, WAIT_ID, link) == BB && !dashing());
frame(0, WALK, link); // Link moves: from the next poll the button is the sprint's
@@ -181,7 +181,7 @@ int main(int argc, char **argv) {
frame(BB, WALK, link);
assert(!dashing() && poll_buttons == 0);
frame(0, ATTACK, link);
assert(frame(BB, ATTACK, link) == BB && !dashing()); // not moving: an attack as usual
assert(frame(BB, ATTACK, link) == BB && !dashing()); // not moving: the button keeps its own job
// hold on L3: sprint while held; L3 never reaches the game during play, other buttons do
reset("l3", "hold");