The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Help with whiteout script

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old January 15th, 2017 (3:48 AM). Edited February 23rd, 2017 by -Piccolo-.
-Piccolo-'s Avatar
-Piccolo- -Piccolo- is offline
 
Join Date: May 2016
Location: Sweden
Gender: Male
Nature: Calm
Posts: 53
When you lose a battle, you're supposed to be sent to a Pokécenter/mom right?

Well not in my case, I get sent to the first room in A-map.

I found this post but I simply don't know what to edit.

Here's the scripts.
Spoiler:
Pokécenter Whiteout

'---------------
#org 0x1A8D97
lockall
textcolor 0x1
msgbox 0x81A5E89 MSG_KEEPOPEN '"First, you should restore your\nPo..."
call 0x81A65CE
checkflag 0x4B0
if 0x0 call 0x81A8DC6
checkflag 0x4B0
if 0x1 call 0x81A8DCF
applymovement LASTTALKED 0x81A666C
waitmovement 0x0
fadedefault
releaseall
end

'---------------
#org 0x1A65CE
applymovement LASTTALKED 0x81A75E7
waitmovement 0x0
doanimation 0x19
checkanimation 0x19
applymovement LASTTALKED 0x81A75ED
waitmovement 0x0
special 0x0
return

'---------------
#org 0x1A8DC6
msgbox 0x81A5EC0 MSG_KEEPOPEN '"Your Pokémon have been healed\nto ..."
return

'---------------
#org 0x1A8DCF
msgbox 0x81A5F9B MSG_KEEPOPEN '"Your Pokémon have been healed\nto ..."
return


'---------
' Strings
'---------
#org 0x1A5E89
= First, you should restore your\nPokémon to full health.

#org 0x1A5EC0
= Your Pokémon have been healed\nto perfect health.\pIf your Pokémon's energy, HP,\nis down, please come see us.\pIf you're planning to go far in the\nfield, you should buy some Potions\lat the Pokémon Mart.\pWe hope you excel!

#org 0x1A5F9B
= Your Pokémon have been healed\nto perfect health.\pWe hope you excel!


'-----------
' Movements
'-----------
#org 0x1A666C
#raw 0x5B 'mov5B
#raw 0x1A 'Delay3
#raw 0xFE 'End of Movements

#org 0x1A75E7
#raw 0x2F 'Face Left (Delayed)
#raw 0xFE 'End of Movements

#org 0x1A75ED
#raw 0x2D 'Face Down (Delayed)
#raw 0xFE 'End of Movements


Mom Whiteout

'---------------
#org 0x1A8DD8
lockall
textcolor 0x1
applymovement 0x1 0x81A75ED
waitmovement 0x0
msgbox 0x81A5FDF MSG_KEEPOPEN '"Mom: [player]!\nWelcome home.\pIt ..."
call 0x81A6C26
msgbox 0x81A6046 MSG_KEEPOPEN '"Mom: Oh, good! You and your\nPokém..."
fadedefault
releaseall
end

'---------------
#org 0x1A6C26
fadescreen 0x1
fanfare 0x100
waitfanfare
special 0x0
fadescreen 0x0
return


'---------
' Strings
'---------
#org 0x1A5FDF
= Mom: [player]!\nWelcome home.\pIt sounds like you had quite\nan experience.\pMaybe you should take a quick\nrest.

#org 0x1A6046
= Mom: Oh, good! You and your\nPokémon are looking great.\pI just heard from Prof. Oak.\pHe said that Pokémon's energy is\nmeasured in HP.\pIf your Pokémon lose their HP,\nyou can restore them at any\lPokémon Center.\pIf you're going to travel far away,\nthe smart Trainer stocks up on\lPotions at the Pokémon Mart.\pMake me proud, honey!\pTake care!


'-----------
' Movements
'-----------
#org 0x1A75ED
#raw 0x2D 'Face Down (Delayed)
#raw 0xFE 'End of Movements


I decompiled them in XSE, but as I said, I don't know what to edit or if this is even the right place to look.

I am using JPAN's Hacked engine if that provides any useful information.

Thanks in advance.
__________________
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old January 15th, 2017 (4:23 AM).
Froosty's Avatar
Froosty Froosty is offline
The_Learner
 
Join Date: Sep 2014
Location: Somewhere in this world.
Age: 25
Gender: Male
Nature: Brave
Posts: 535
I am feeling too lazy to read it all ,
but I hope that it can be handy...

http://www.romhack.me/tutorials/view/extending-sethealingplace-on-pok-233mon-firered/
__________________
My works:
TOOL: TL's Quick Enhancer
TUTORIAL: Fire red habitat editing
TUTORIAL: Fire red Transparent text-box


| |
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old January 15th, 2017 (5:10 AM).
-Piccolo-'s Avatar
-Piccolo- -Piccolo- is offline
 
Join Date: May 2016
Location: Sweden
Gender: Male
Nature: Calm
Posts: 53
I realized why this is occurring now, it's because I didn't set any sethealingplace scripts anywhere.
So I did, however, it still dosen't work.

This is the script I set in the starting room.
Spoiler:
#dynamic 0x100EB57

#org @start
sethealingplace 0x1
end

On entering map/not on menu close [03]


But it dosen't seem to work. The only thing that has changed is the fact that mom talks in the first room instead of a nurse.

Any solutions why it dosen't work?

I also set this script in the first Pokécenter
Spoiler:
#dynamic 0x100EB57

#org @start
sethealingplace 0x2
end

On entering map/not on menu close [03]


But it still spawns me in the first union room after a whiteout.
__________________
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:14 AM.