The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Need Help With Script (FR)

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 August 8th, 2018 (8:15 PM).
JerdTheBird72 JerdTheBird72 is offline
 
Join Date: Aug 2018
Posts: 2
I am using a level script in a FireRed Rom and can't seem to get it to work. It is supposed to activate when you enter the lower level of your house for the first time, but I can't seem to figure out the problem. When I go downstairs nothing happens... This script is below. One more note, I have a player event placed in the doorway to the outside of the house. Thanks for the help... :/

----- Script -----

#dynamic 0x800000

#org @start
checkflag 0x200
compare 0x200 0x0
if 0x0 goto @oak
compare 0x200 0x1
if 0x1 goto @end

#org @end
end

#org @oak
lock
setflag 0x200
applymovement 0x01 @oak1
preparemsg @t1
waitkeypress
applymovement 0x01 @oak2
applymovement 0xFF @player
release
end

#org @oak1
#raw 0x11
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE

#org @oak2
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0xFE

#org @player
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x10
#raw 0xFE

#org @t1
= Oak: [PLAYER]! My new Pokemon\njust came in! Follow me to my lab\land I'll let you have one.
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:20 AM.