add %RULES command, fix bugs in random events

This commit is contained in:
SilicaAndPina 2021-05-14 12:18:11 +12:00
parent e600554555
commit 1ad0783f8f
7 changed files with 62 additions and 4 deletions

View file

@ -28,6 +28,10 @@ namespace HISP.Game
public static int ModIsleX;
public static int ModIsleY;
public static int RulesIsleX;
public static int RulesIsleY;
public static int GetTileId(int x, int y, bool overlay)
{
int pos = ((x * Height) + y);
@ -94,9 +98,6 @@ namespace HISP.Game
if (!passable && overlayPassable)
passable = true;
return passable;
}