Maybe put self switch A : OFF before or after the erase event command
Tried that. Also tried to put self switch b off there as well. Also tried to delete all but "group enemy" from the second page.
Ok i solved the reason. As i thought before, the self-switches do not turn off on page 2. I added the manual turn-off on action button to page 2, and after i press action button in game, enemy becomes killable. But there is no second "first page ran" in console. But i can check the hp with "$gameMap.event(9).hp"
For me it looks like a bug or flaw in design, maybe enemies are not supposed to be stationary for this plugin, and need to be spawned on the map every time player enters the room?
I think i can bypass this bug\limitation by using event spawner to spawn the enemy once map is loading, and then have a switch that will kill the spawner once enemy is dead (and maybe another switch to de-spawn it if player exist location). But i am trying to figure out how the spawner works, and i think that i understand if so far, except for the one thing - what is bid?
Update: found out that the bid can remain at zero value. Got event spawner to work, it was easier than i expected. But the problem remains the same - both newly spawned and already existing enemy become immortal upon re-entering the room. I wonder if the other plugins that are in demo should be installed? I don't know what they do, and descriptions are all in chinese.
I see that the author is on this forum, but no longer active. Tried to write to him, maybe he will see the message and hopefully know what is wrong.
Update again: i think that i found a solution, works so far. I changed self-switch on second page of the enemy to normal switch, and turning it off when player leaves the room. So you were right, events were stuck on second page without returning to first one.