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 authored and Ethan Lee committed 2020-11-06 15:06:11 -05:00
1 parent 05b7a38f76
commit 5faa86baae
1 file changed
+1 -1
+1 -1
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)
{