SAYONARA++ 1.2.0 (140)

A major update for SAYONARA++ is out. Last update was 1.1.0 (69). We recently also posted 7 solutions for Level 1 of SAYONARA++.

New Features

  • Directives: #core and #local are now the canonical names (#core = offload to The Core, #local = run on the mecha). #include/#inline remain as legacy synonyms, and the ModManager now injects the new names.
  • Levels 12-24 were adjusted (previous solutions may no longer work).
  • Help text (accessed via F1) was updated.
  • Expanded instruction set (see below).

New instructions (ISA expansion)

  • SUB dest, src — subtracts src from a register (RA/RB), with .L/.H sub-byte support. Full-register SUB also updates the comparison flags.
  • CMP now sets signed less-than/equal/greater-than flags (previously equality only).
  • New conditional jumps: JLT (less), JGT (greater), JLE (less/equal), JGE (greater/equal). Existing JE/JNE are unchanged. These make signed-magnitude comparison and register subtraction O(1) operations (previously only possible via slow decrement loops).

Quality of Life

  • ModManager: files are now sorted alphabetically, and the file browser has an incremental search filter (/ to search, type to narrow, Enter to accept, Esc to clear).
  • Options window: Up/Down now repeat when held.
  • Status bar now follows the selected mecha while editing. Switching chassis (Alt+0/1/2) now updates the HUD’s EN/TICKS to that mecha’s stats; execution still starts on mecha ZERO as before.
  • The Data Viewer now shows the current comparison flags (FLAGS: EQ/LT/GT/–) as a new line under the registers list.

New achievements

  • Clear Bunkyo (level 11) while collecting 3 or fewer vitamins.
  • Clear Shinagawa (level 15) in 16 Terra pulses or fewer.
  • Clear Chiyoda (level 23) without destroying any turret.
  • Clear any level where The Core’s coprocessor ticks exceed the mecha’s CPU ticks.
  • Clear any level while using at least one RAM slot.
  • Achievement “Zero Latency” in Katsushika was replaced with “Minimal Cycles”: Clear Katsushika (level 2) in 19 or fewer combined ticks.

Bug Fixes

  • Malformed assembly code is now rejected at compile time instead of silently running with wrong values. Previously, bad operands silently fell back to 0 (e.g. FIRE 3×3 ran as FIRE 0,0, STEP AAAAA ran as STEP 0, MOV RA UNKNOWN set RA to 0). These now produce a clear compile error before execution.
  • Omitted operands are now rejected. STEP, SCAN, FIRE, and similar now error out instead of defaulting missing operands to 0.
  • Invalid opcode tokens are now rejected.
  • RAM pointers now require a numeric address. A pointer like [RA] previously resolved to [0]; it is now a compile error.
  • Relay mechas now size their spawned instance, so relay chassis render at the correct cell size.
  • Turret targeting now searches the active mecha exclusively.
  • Corrupt/empty saves are handled — a save that deserializes to null now triggers a profile rebuild instead of downstream null-reference errors.
  • Module #include/#inline paths are sandboxed — .., absolute paths, and any resolution outside ModulesDisk are rejected.
  • Music volume is now respected when switching tracks. The music volume setting (including 0) now remains applied after pressing F5 (entering execution) and after returning to editing.
  • Fixed F4 “restore solution” and solution auto-save on the secret level.
  • Fixed secret-level victory telemetry overwriting Chiyoda’s records.
  • Fixed the “turrets destroyed” flag in Chiyoda.
  • Fixed Terra cycles double-counting on soul transfer.
  • Fixed stale code leaking between levels in the code editor.
  • ModManager: the first search/filter result can now be renamed/deleted.
  • Relay mechas now enforce their opcode cap. Previously only the starting mecha’s opcode cap was checked; a relay (e.g. VELEN-2 with 17 opcodes vs a cap of 16) would run at soul transfer. Soul transfer now rejects over-cap code like the starting mecha does (respecting the Core’s Blessing for #core/#include).
  • Relay mecha code is now validated when you press F5. Parse errors and opcode-cap violations in any relay buffer are reported immediately before execution starts, instead of only when soul transfer is reached.
  • Fixed: status bar showed ZERO’s stats after execution ended. When a run ended and the editor returned to the last-edited mecha (e.g. VELEN-1), the HUD now re-binds to that same mecha instead of staying on ZERO.
  • FIRE/SCAN no longer cost energy when they can’t run. A disabled weapon or scan array (and an out-of-bounds FIRE target) now cost 0 energy and log a clear Operational Log notice, instead of silently draining energy for a no-op.
  • SCAN now reports the enemy’s position after its own world turn. Previously the scan read the enemy, then the world advanced (the enemy could move), then EX/EY stored the pre-move position — so an immediate SCAN => FIRE could target a stale cell and miss. Reordered so the world advances before the scan reads, making SCAN => FIRE reliable (no NOP needed). Terra pulse count and enemy movement timing are unchanged.

Guided by the benevolent logic of The Core.