Whenever I go to the next room my hp resets back to its maximum, how can I make it stay the same throughout all my rooms?
My Player Object's hp code:
if (hp <= 0)
{
ScreenShake(40,2);
audio_play_sound(snEnemydie,5,false);
room_restart()
}
My Enemy's attacking code:
with(other)
{...