- 17
- Posts
- 16
- Years
- Seen Nov 24, 2024
You can overwrite default Pokemon Center Nurse's Script with this:
Just be sure to not delete the original Offset of the nurse that calls 0x78c2d0
This script will charge 500$ everytime you go to the POKEMON CENTER, even if you lose and get teleported to the center, you cant heal your team if dont have the money.
#org 0x78C2D0
msgbox 0x878C300 MSG_YESNO '"Heal Pokemon?.\l500 Money"
compare LASTRESULT 0x1
if 0x1 call 0x878C2F0
releaseall
release
end
'---------------
#org 0x78C2F0
closeonkeypress
call 0x81A6C26
end
'---------------
#org 0x1A6C26
checkmoney 0x1F4 0x0
compare LASTRESULT 0x1
if 0x0 goto 0x872F06C
fadescreen 0x1
fanfare 0x100
waitfanfare
paymoney 0x1F4 0x0
special 0x0
fadescreen 0x0
return
'---------------
#org 0x72F06C
releaseall
release
end
'---------
' Strings
'---------
#org 0x78C300
= Heal Pokemon?.\l500 Money
Just be sure to not delete the original Offset of the nurse that calls 0x78c2d0
This script will charge 500$ everytime you go to the POKEMON CENTER, even if you lose and get teleported to the center, you cant heal your team if dont have the money.
#org 0x78C2D0
msgbox 0x878C300 MSG_YESNO '"Heal Pokemon?.\l500 Money"
compare LASTRESULT 0x1
if 0x1 call 0x878C2F0
releaseall
release
end
'---------------
#org 0x78C2F0
closeonkeypress
call 0x81A6C26
end
'---------------
#org 0x1A6C26
checkmoney 0x1F4 0x0
compare LASTRESULT 0x1
if 0x0 goto 0x872F06C
fadescreen 0x1
fanfare 0x100
waitfanfare
paymoney 0x1F4 0x0
special 0x0
fadescreen 0x0
return
'---------------
#org 0x72F06C
releaseall
release
end
'---------
' Strings
'---------
#org 0x78C300
= Heal Pokemon?.\l500 Money