Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

Room State Carryover -> Crashed Game

2 replies · 1,333 views · Started 23 October 2006

ZQuest 2.14

ZClassic crashed at runtime when the player hit a Strike flag, triggering secrets. The setup was as follows:

Map 10, Room 1F
One FFC running the "charging_bull" script, "draw over" flag. Essentially runs back and forth to line up with Link, then charges, hits a wall, and is vulnerable for 60 tics after hitting the wall. This is accomplished by switching to a combo with a native Strike flag while the FFC is stunned.
Layer 0 has tiered secrets along the floor, starting with 16 and going through 32. Each secret combo is a walkable combo except the last, which is a pit warp.
Layer 3 has tiered secrets making up the boss's hit points, similar setup to Layer 0.
Layer 1 and 2 have floor graphics on them to mask the secrets below.
The screen has "Room State Carryover" to Map 10, Room 0F.

At runtime, the FFC would move properly, but when Link triggered the Strike flag, the game would freeze. I changed "Room State Carryover" to Map 0, Screen 00, changed nothing else, and the freezing problem went away.

There are still some problems with the tiered secrets in this room triggered too early, which I dont understand, but the freezing bug was the serious one.