The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Buggy script/character

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 10th, 2017 (12:45 AM). Edited August 10th, 2017 by pikadude64.
pikadude64 pikadude64 is offline
 
Join Date: Apr 2012
Location: UK
Gender: Male
Posts: 9
Hi, my code works fine for what it is required to do but once the player has received the old rod from the fisherman he vanishes of the screen and reappears when you move. Can anyone see why this is happening or let me know of a solution. Thanks in advance

Spoiler:

'---------------
#org 0x800000
checkflag 0x8C3
if 0x1 goto 0x880004B
faceplayer
lock
msgbox 0x8800056 0x5 '"Hello, would you like to hear my\n..."
compare LASTRESULT 0x1
if 0x1 goto 0x8800027
msgbox 0x880009A MSG_NORMAL '"That's disappointing to hear.\nYou..."
release
end

'---------------
#org 0x80004B
msgbox 0x88004FF MSG_FACE '"My golden Magikarp is my pride and..."
release
end

'---------------
#org 0x800027
msgbox 0x88000DB MSG_FACE '"Excellent. Back in my day when I\n..."
giveitem 0x106 0x1 MSG_FIND
waitfanfare
closeonkeypress
setflag 0x8C3
release
end


'---------
' Strings
'---------
#org 0x800056
= Hello, would you like to hear my\nstory about a wonderful pokemon?

#org 0x80009A
= That's disappointing to hear.\nYou're missing out on something.

#org 0x8004FF
= My golden Magikarp is my pride and\njoy, actually I caught it using\lthat rod that you now own!

#org 0x8000DB
= Excellent. Back in my day when I\nwas just as young as you (story continues but isnt required here)
__________________
"Dragonite swoops into battle"
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 10th, 2017 (3:10 AM).
NewDenverCity's Avatar
NewDenverCity NewDenverCity is offline
 
Join Date: Apr 2014
Location: Antarctica
Gender: Male
Nature: Calm
Posts: 326
Flag 0x8C3 is an unsafe flag for one. I assume you haven't made a person with a flag attached in A-map so they can disappear a la oak of palette town, but try changing the flag to something else, moving the lock, faceplayer above the checkflag.
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.