SCRMaps
/
Sign in

Removing graphics you did not ask for

The rock that appears from nowhere, and the overlay that follows a unit around.

5 min read

2020 Brood War era material, unverified. On Remastered many of these no longer crash, but the broken graphic remains.

While editing images you may find an unrelated rock appearing above a unit. It is not a bug but a default: an image whose iscript offset is 0 starts executing at address 0, where there is no code - only padding and then somebody else's header. Misread as instructions that header becomes a sprol, which puts sprite 0, the rock, above the unit.

The fix is to point that image at a real iscript. Do not leave it pointing at nothing: nothing does not mean do nothing, it means do entry 0.

Pointing an image at a script that asks for a frame that does not exist gives you a dolmen - a blank frame is the sign, and it is crash list #5. Giving it a script with no destruction motion makes sprites accumulate until the game crashes - #10.

The iscript ID list