Entry 454
Field 8's last stage: EVENTAREAB0's NextStage and the clump Corbenik's lasers hide
Linked from Twenty-two play questions were already answered: the triage's list against the work since.
Filescrates/piney-world/src/evarea_b0.rs crates/piney-world/src/story_map.rs crates/piney-world/src/field_world.rs crates/piney-world/src/combat/boss.rs docs/engine/evarea.md
Mentioned inplans/quarantine-story.md:70
Field 8's last stage and the lasers' clump
Corbenik's third form calls QUA gcmn 0x0030aa40 to clear and set
worldman->eventArea +0x2bc. The question (worklog 453) was what that
is. The arena is field 8's EVENTAREAB0; Quarantine's class differs
from Infection's in its last stage.
What the code says.
- The constructor (0x00308b90) loads
se4_8besidese4_7on every arena: scene at +0x2a8,ANM_se4_8bac1aat +0x2ac,CMP_se4_8f01at +0x2b0.stageSW(+0x2b4) starts 0. On field 8 withsaveData[0x652f]set it runsNextStage(0x0030aa70). NextStage, field 8 andstageSW0: deletes 50 STATICMODELs and 25 STATICOBJECTs,DelGrps the lights from the last down to 1 (light 0 stays), setsstageSWand +0x2bc,HitEnables the clump and the clip and sets the clip's hit matrix.DrawwithstageSW(0x0030a968): the clip goes forward and is drawn at the origin on objLayer; the clumpCMP_se4_8f01on floorLayer only while +0x2bc; nothing else.- 0x0030aa40 sets +0x2bc = (a1 == 1). The tera laser (step 3, count 29) and the reflected laser (count 15) clear it under their dark stage effect and set it again as the effect ends. So the floor clump vanishes while the laser plays; hits are untouched.
The port. evarea_b0::Arena loads LastStage for field 8;
next_stage() and set_clump(); select() gives Piece::LastAnm and
LastClump. story_map::build runs next_stage on Quarantine when the
save byte is set. The fight's Pic::ArenaClump goes through
BossRun.arena_clump to the arena in FieldWorld. Test
corbenik_last_stage checks the stage switch, lights, hits and pieces
from the Quarantine archive.
- The clump and clip as drawn are not compared with the game's frames (no shot yet); the third form's world side, which reaches this in play, is not wired yet.