6 messages · Page 1 of 1 (latest)
room_restart() doesn't reset global variables, you're doing that yourself.
room_restart()
Likely in the Create event of some object.
is global.HP setup in the player create event?
yeah, because every time your player runs its create code, that global.HP variable is reset
what cecil was saying is to avoid using room restart, and avoid destroying the player at all
which is good advice, but kinda complicated