options to spawn entity 21, and no activity zone

This commit is contained in:
AllyTally
2022-11-20 00:13:03 -04:00
committed by Misa Elizabeth Kai
parent b7da899674
commit 02ace10df9

View File

@@ -1917,8 +1917,11 @@ void mapclass::loadlevel(int rx, int ry)
usethisy -= 8; usethisy -= 8;
} }
obj.createentity(ex, usethisy + 8, 20, usethistile); obj.createentity(ex, usethisy + 8, 20 + SDL_clamp(ent.p2, 0, 1), usethistile);
obj.createblock(ACTIVITY, ex - 8, usethisy + 8, 20, 16, 35); if (obj.customscript != "")
{
obj.createblock(ACTIVITY, ex - 8, usethisy + 8, 20, 16, 35);
}
break; break;
} }
case 19: //Script Box case 19: //Script Box