What script is handling my player spawn? 4.1.5 (solved)

mouse spirit

Well-known member
Truly i want to change the object i spawn as mid game.
I can change fine, but when i die i respawn as the original object and would like to know where the correct script is for me to alter. I am gonna try to use a variable check to say what object to then spawn as. I looked for a handleplayerdeath or spawn macro n stuff, but when i kept lookin for the right script i just couldnt find it.

I did find handleplayerdeath script and it said LDX player1_object , what defines player1_object especially when i spawn is what i am asking i guess. Handlescreenloads and playerToSpawn?

Edit: Might be playerloselife.I am doing some test.

Editors corner: It is playerloselife.asm . I have got it now!So if anyone wants to know, its this code.And actually also in SOME warp scripts if you have em.
around line 29 in playerloselife.asm
Code:
 LDA whoAmI ;;;;this is a variable i added here
 STA playerToSpawn;;;;here is where it saves to playertospawn
 
Top Bottom