However, i encountered another error. I got the game over script working, but my HUD is showing random tiles under my player lives variable. Is it possible the code isn't telling the game how many lives to award the newly spawned player? Is it possible to add this?

Ok, after testing further I discovered that the code works correctly when I press the start button to reset. The HUD functions correctly after respawn.
What I had done is set a timer for an NPC monster to serve as some text on my Game Over screen. At the end of the timer I have the NPC performing a RESTART GAME action so that my GAME OVER JINGLE does not loop around and play again. This action resets my game, but my HUD Is glitching and showing random hud tiles instead of the numbers I used to keep count on player lives. I have screen shots to illustrate, but I am not sure how to post images on the forums yet.

The action for "reset game" in the monsters > Object Details> Actions ... where can I find this script? In My routines folder? I assume the script is missing an action step or something...

Try using only one action:
the "end animation" action : executes the action when the animation (by "animation", I mean a sequence of animation frames) is done (you need to set the animation speed).
the "end action" action : executes the action when the timer is done (you need to set the Timer value).
Don't set both.

Try using only one action:
the "end animation" action : executes the action when the animation (by "animation", I mean a sequence of animation frames) is done (you need to set the animation speed).
the "end action" action : executes the action when the timer is done (you need to set the Timer value).
Don't set both.

Try using only one action:
the "end animation" action : executes the action when the animation (by "animation", I mean a sequence of animation frames) is done (you need to set the animation speed).
the "end action" action : executes the action when the timer is done (you need to set the Timer value).
Don't set both.

Hey Dale, I tried selecting only end animation on the NPC actions and still get the same results.

game over reset.PNG (52.56 KiB) Viewed 2644 times

If I press the start button at the game over screen the game resets and the HUD works correctly. However, If I rely on the RESTART GAME end action, the HUD stops counting player lives and starts presenting odd tiles from the HUD CHR file. You can see here after my timer lapses on the game over screen, the HUD starts to misbehave after reset. [url][/url]

If I am correct, the 'end action' here is triggering a script I have under routines\basic\system\timerEndScripts\Timer_DoPlayerDeath.asm