Great stuff! Is there a guide on which frames are for which state?
GameMaker Rob
Creator of
Recent community posts
The easiest is probably using a single global variable that you decide how it's set.
Eg you could draw invisible rectangles in the room, and give them a number that correlates to the monster enumerator eg:
monster = e_mon.slime;
Then in the collision event, with the player, you set the global variable to the monster variable
eg
global.monster = monster
Just some way to recognise that a boss battle is happening. At the moment I tend to have arrays that I pull from to determine who the enemy is. You could have a variable that is normally set to -1 (ie random battles) and you set that variable to a particular number when you want to fight a particular monster.
This means you just need to keep resetting that variable to -1 at the end of a battle.
How/when you set that variable to something other than -1 depends on how you have your game setup atm.