1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-26 06:28:30 +02:00

Add x-room = 13 check to entity 1 behave 13

This check is clearly meant for destroying the factory clouds in the
room "Level Complete!" in the main game, but it covers all rooms on row
8, instead of only (13,8). Adding an x-room check restricts this
behavior to only (13,8).

Trinket9 reported that this weird behavior of destroying specifically
above y-position 60 was undesirable, since they were creating an enemy
with this `behave` in a room on row 8 and it kept disappearing
instantly.
This commit is contained in:
Misa 2020-11-06 11:58:18 -08:00 committed by Ethan Lee
parent 05b7a38f76
commit 5faa86baae

View File

@ -2361,7 +2361,7 @@ bool entityclass::updateentities( int i )
{
return removeentity(i);
}
if (game.roomy == 108)
if (game.roomx == 113 && game.roomy == 108)
{
if (entities[i].yp <= 60)
{