The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Questions about Mom's script on Pokemon Fire Red

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 November 14th, 2017 (7:09 AM).
adlib17's Avatar
adlib17 adlib17 is offline
 
Join Date: Jul 2011
Gender: Male
Posts: 31
I used JPAN's clearing patch to clear the rom I'm working on. I was trying to recreate the mom script to something else but there are some parts I don't understand. Here's the entire script:

Spoiler:
#org 0x168C09
lock
faceplayer
checkflag 0x258
if 0x1 goto 0x8168C4A
checkgender
compare LASTRESULT 0x0
if 0x1 call 0x8168C38
compare LASTRESULT 0x1
if 0x1 call 0x8168C41
closeonkeypress
applymovement 0x1 0x81A75E5
waitmovement 0x0
release
end

'---------------
#org 0x168C4A
msgbox 0x818D3D1 MSG_KEEPOPEN '"MOM: [player]!\nYou should take a ..."
closeonkeypress
call 0x81A6C26
msgbox 0x818D3F8 MSG_KEEPOPEN '"MOM: Oh, good! You and your\nPOKéM..."
release
end

'---------------
#org 0x168C38
msgbox 0x818D2F0 MSG_KEEPOPEN '"MOM: [.]Right.\nAll boys leave hom..."
return

'---------------
#org 0x168C41
msgbox 0x818D360 MSG_KEEPOPEN '"MOM: [.]Right.\nAll girls dream of..."
return

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


'---------
' Strings
'---------
#org 0x18D3D1
= MOM: [player]!\nYou should take a quick rest.

#org 0x18D3F8
= MOM: Oh, good! You and your\nPOKéMON are looking great.\lTake care now!

#org 0x18D2F0
= MOM: [.]Right.\nAll boys leave home someday.\lIt said so on TV.\pOh, yes. PROF. OAK, next door, was\nlooking for you.

#org 0x18D360
= MOM: [.]Right.\nAll girls dream of traveling.\lIt said so on TV.\pOh, yes. PROF. OAK, next door, was\nlooking for you.


'-----------
' Movements
'-----------
#org 0x1A75E5
#raw 0x5A 'mov5A
#raw 0xFE 'End of Movements


I'm lost on this part:
What does this do?
Spoiler:

'-----------
' Movements
'-----------
#org 0x1A75E5
#raw 0x5A 'mov5A
#raw 0xFE 'End of Movements


Also, I see no script to set mom as respawn point (or heal location) before a poke center was visited.

My problem is that when I white out before going to a pokecenter I get teleported to Cinnabar Gym.

I want to make I didn't break the rom before pursuing the hack I'm making. Thanks!
__________________
~Open a WINDOW, eat an APPLE, CHROME some metal, watch an OPERA, make a SAFARI, hunt a FIREFOX, and be an EXPLORER~
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old November 14th, 2017 (7:24 AM).
thedarkgod thedarkgod is offline
 
Join Date: Sep 2013
Gender:
Posts: 21
The respawn location is set when you enter the building, not when you talk to your mom/a nurse, so I would imagine that you are looking for another script.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old November 17th, 2017 (8:54 AM).
ASDBUDDY's Avatar
ASDBUDDY ASDBUDDY is offline
The Derp
 
Join Date: Apr 2017
Location: aint gonna tell ya
Age: 22
Gender: Male
Nature: Docile
Posts: 347
yes the respawn script is usually set in a level script in that map, i believe.
__________________
https://discord.gg/bEwyPd7
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

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:16 AM.