The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script NEED HELP WITH SCRIPT PLS [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 April 22nd, 2019 (12:11 PM).
decnals's Avatar
decnals decnals is offline
 
Join Date: Apr 2019
Posts: 8
I need help with this script, basically im trying to make it so you need the secret key from cinnabar island to get into cerulean cave instead of having to do the sevi islands story line. The problem I have is that when I enter a pokemon center and use the PC or heal up my script no longer works and I dont need the key to enter, I can just walk in. I'm pretty new to at this and really just trying to learn something new but i cant figure out why it's doing this. Any help would be much appreciated!

'---------------
#org 0x801900
checkitem 0x15F 0x1
if 0x0 goto 0x880190E
release
end

'---------------
#org 0x80190E
lockall
applymovement MOVE_PLAYER 0x8801947
waitmovement 0x0
pause 0x14
msgbox 0x8801932 MSG_KEEPOPEN '"NEEDS SECRET KEY [.]"
closeonkeypress
applymovement MOVE_PLAYER 0x880194A
waitmovement 0x0
release
end


'---------
' Strings
'---------
#org 0x801932
= NEEDS SECRET KEY [.]


'-----------
' Movements
'-----------
#org 0x801947
#raw 0x2E 'Face Up (Delayed)
#raw 0xFE 'End of Movements

#org 0x80194A
#raw 0x10 'Step Down (Normal)
#raw 0xFE 'End of Movements
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old April 26th, 2019 (6:57 AM).
Wiserospray's Avatar
Wiserospray Wiserospray is offline
 
Join Date: Apr 2019
Location: Yankee
Gender: Male
Nature: Timid
Posts: 11
From reading your script it seems that as long as you have the key, the script essentially does nothing. Were you planning on removing the item after the script runs?
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:13 AM.