The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other after entering the map, the game just show random textboxes

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 29th, 2015 (2:46 PM). Edited August 30th, 2015 by Applausear.
Applausear's Avatar
Applausear Applausear is offline
 
Join Date: Aug 2013
Gender: Male
Posts: 23
I was finally playing my game after 2 hours of work in route 1 and my new city, when it showed it after leaving my house (entering the town)

I keep pressing Z and the textboxes keep repeating

anyone know how to fix it?
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 29th, 2015 (6:08 PM).
chrunch chrunch is offline
 
Join Date: Oct 2009
Gender: Male
Posts: 1,343
Check there are no level scripts?
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old August 29th, 2015 (6:59 PM).
Applausear's Avatar
Applausear Applausear is offline
 
Join Date: Aug 2013
Gender: Male
Posts: 23
I don't know exactly what a level script means, but if you're talking about the script in the "header" section
yes there are

script 0 (On entering map/not on menu close [03])
Spoiler:
'---------------
#org 0x165465
setworldmapflag 0x890
checkflag 0x291
if 0x1 call 0x8165488
compare 0x4070 0x0
if 0x1 call 0x81654A8
compare 0x4070 0x1
if 0x1 call 0x81654A2
end

'---------------
#org 0x165488
checkflag 0x83E
if 0x0 goto 0x81A77A9
compare 0x4070 0x1
if 0x4 goto 0x81A77A9
setvar 0x4070 0x1
return

'---------------
#org 0x1654A8
checkflag 0x291
if 0x1 goto 0x81654BD
movesprite2 0x1 0x5 0xF
spritebehave 0x1 0x7
return

'---------------
#org 0x1654A2
setvar 0x4070 0x2
return

'---------------
#org 0x1A77A9
return

'---------------
#org 0x1654BD
movesprite2 0x1 0xC 0x2
spritebehave 0x1 0x8
setvar 0x4002 0x1
return


script 1 (Validates values, loads handler to 0x03000EB0 (playback) [02])
Spoiler:
'---------------
#org 0x1654D8
lockall
textcolor 0x0
movesprite2 0x3 0xE 0xE
spritebehave 0x3 0x9
showsprite 0x3
applymovement 0x3 0x81655AF
waitmovement 0x0
checkflag 0x89B
if 0x0 goto 0x81655A1
msgbox 0x817D8BF MSG_KEEPOPEN '"OAK: Ah, [player]!\nYou're back, a..."
setvar 0x8004 0x0
special2 LASTRESULT 0xD4
copyvar 0x8008 0x8005
copyvar 0x8009 0x8006
buffernumber 0x0 0x8008
buffernumber 0x1 0x8009
compare 0x8009 0x3C
if 0x0 goto 0x8165593
msgbox 0x817D9AA MSG_KEEPOPEN '"You've caught[.] [buffer2]!?\nNow,..."
closeonkeypress
playsong 0x110 0x0
applymovement MOVE_PLAYER 0x81655DD
applymovement 0x3 0x81655CC
waitmovement 0x0
setdooropened 0x10 0xD
doorchange
applymovement 0x3 0x816572E
applymovement MOVE_PLAYER 0x8165758
waitmovement 0x0
setdoorclosed 0x10 0xD
doorchange
setvar 0x4055 0x7
setvar 0x4050 0x3
setflag 0x2C
warp 0x4 0x3 0xFF 0x6 0xC
waitstate
releaseall
end

'---------------
#org 0x1655A1
msgbox 0x817DA16 MSG_KEEPOPEN '"OAK: Ah, [player]!\nYou seem to be..."
goto 0x816557E

'---------------
#org 0x165593
msgbox 0x817D925 MSG_KEEPOPEN '"You've caught [buffer2][.]\pHm, it..."
goto 0x816557E

'---------------
#org 0x16557E
closeonkeypress
applymovement 0x3 0x81655BE
waitmovement 0x0
hidesprite 0x3
setvar 0x4050 0x3
releaseall
end


'---------
' Strings
'---------
#org 0x17D8BF
= OAK: Ah, [player]!\nYou're back, are you?\pHow much have you filled in your\nPOKéDEX?\pMay I see it?\pLet's see[.]

#org 0x17D9AA
= You've caught[.] [buffer2]!?\nNow, this is impressive!\pThere's something I wanted to ask\nof you, [player].\pCome.\nFollow me.

#org 0x17DA16
= OAK: Ah, [player]!\nYou seem to be enjoying traveling.\pKnowing you, [player], I can easily\nimagine you going out to even more\lexotic locales.\pGood for you, good for you.\nHohoho.

#org 0x17D925
= You've caught [buffer2][.]\pHm, it looks as if you're putting\nin an honest effort.\pWhen you manage to fill it some\nmore, come show me, please.


'-----------
' Movements
'-----------
#org 0x1655AF
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x2E 'Face Up (Delayed)
#raw 0xFE 'End of Movements

#org 0x1655DD
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements

#org 0x1655CC
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x2E 'Face Up (Delayed)
#raw 0xFE 'End of Movements

#org 0x16572E
#raw 0x11 'Step Up (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements

#org 0x165758
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements

#org 0x1655BE
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old August 29th, 2015 (9:40 PM).
chrunch chrunch is offline
 
Join Date: Oct 2009
Gender: Male
Posts: 1,343
They shouldn't be the cause but you can remove them anyways, it's just leftovers from the original game. I'm not sure what your problem is but you can try a number to steps to diagnose the problem:
1) See if this occurs on any other maps
2) Try using a different warp number and/or warping to a different place in the map
3) Does it happen when entering the map via connection?
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old August 29th, 2015 (10:27 PM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by PansearSapeca View Post
I don't know exactly what a level script means, but if you're talking about the script in the "header" section
yes there are

script 0 (On entering map/not on menu close [03])
Spoiler:
'---------------
#org 0x165465
setworldmapflag 0x890
checkflag 0x291
if 0x1 call 0x8165488
compare 0x4070 0x0
if 0x1 call 0x81654A8
compare 0x4070 0x1
if 0x1 call 0x81654A2
end

'---------------
#org 0x165488
checkflag 0x83E
if 0x0 goto 0x81A77A9
compare 0x4070 0x1
if 0x4 goto 0x81A77A9
setvar 0x4070 0x1
return

'---------------
#org 0x1654A8
checkflag 0x291
if 0x1 goto 0x81654BD
movesprite2 0x1 0x5 0xF
spritebehave 0x1 0x7
return

'---------------
#org 0x1654A2
setvar 0x4070 0x2
return

'---------------
#org 0x1A77A9
return

'---------------
#org 0x1654BD
movesprite2 0x1 0xC 0x2
spritebehave 0x1 0x8
setvar 0x4002 0x1
return


script 1 (Validates values, loads handler to 0x03000EB0 (playback) [02])
Spoiler:
'---------------
#org 0x1654D8
lockall
textcolor 0x0
movesprite2 0x3 0xE 0xE
spritebehave 0x3 0x9
showsprite 0x3
applymovement 0x3 0x81655AF
waitmovement 0x0
checkflag 0x89B
if 0x0 goto 0x81655A1
msgbox 0x817D8BF MSG_KEEPOPEN '"OAK: Ah, [player]!\nYou're back, a..."
setvar 0x8004 0x0
special2 LASTRESULT 0xD4
copyvar 0x8008 0x8005
copyvar 0x8009 0x8006
buffernumber 0x0 0x8008
buffernumber 0x1 0x8009
compare 0x8009 0x3C
if 0x0 goto 0x8165593
msgbox 0x817D9AA MSG_KEEPOPEN '"You've caught[.] [buffer2]!?\nNow,..."
closeonkeypress
playsong 0x110 0x0
applymovement MOVE_PLAYER 0x81655DD
applymovement 0x3 0x81655CC
waitmovement 0x0
setdooropened 0x10 0xD
doorchange
applymovement 0x3 0x816572E
applymovement MOVE_PLAYER 0x8165758
waitmovement 0x0
setdoorclosed 0x10 0xD
doorchange
setvar 0x4055 0x7
setvar 0x4050 0x3
setflag 0x2C
warp 0x4 0x3 0xFF 0x6 0xC
waitstate
releaseall
end

'---------------
#org 0x1655A1
msgbox 0x817DA16 MSG_KEEPOPEN '"OAK: Ah, [player]!\nYou seem to be..."
goto 0x816557E

'---------------
#org 0x165593
msgbox 0x817D925 MSG_KEEPOPEN '"You've caught [buffer2][.]\pHm, it..."
goto 0x816557E

'---------------
#org 0x16557E
closeonkeypress
applymovement 0x3 0x81655BE
waitmovement 0x0
hidesprite 0x3
setvar 0x4050 0x3
releaseall
end


'---------
' Strings
'---------
#org 0x17D8BF
= OAK: Ah, [player]!\nYou're back, are you?\pHow much have you filled in your\nPOKéDEX?\pMay I see it?\pLet's see[.]

#org 0x17D9AA
= You've caught[.] [buffer2]!?\nNow, this is impressive!\pThere's something I wanted to ask\nof you, [player].\pCome.\nFollow me.

#org 0x17DA16
= OAK: Ah, [player]!\nYou seem to be enjoying traveling.\pKnowing you, [player], I can easily\nimagine you going out to even more\lexotic locales.\pGood for you, good for you.\nHohoho.

#org 0x17D925
= You've caught [buffer2][.]\pHm, it looks as if you're putting\nin an honest effort.\pWhen you manage to fill it some\nmore, come show me, please.


'-----------
' Movements
'-----------
#org 0x1655AF
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0x2E 'Face Up (Delayed)
#raw 0xFE 'End of Movements

#org 0x1655DD
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements

#org 0x1655CC
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x2E 'Face Up (Delayed)
#raw 0xFE 'End of Movements

#org 0x16572E
#raw 0x11 'Step Up (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements

#org 0x165758
#raw 0x13 'Step Right (Normal)
#raw 0x11 'Step Up (Normal)
#raw 0x60 'Hide
#raw 0xFE 'End of Movements

#org 0x1655BE
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements
I think this is caused by script 1, try removing it.
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old August 30th, 2015 (9:52 AM).
Applausear's Avatar
Applausear Applausear is offline
 
Join Date: Aug 2013
Gender: Male
Posts: 23
Quote:
Originally Posted by Christos View Post
I think this is caused by script 1, try removing it.
Thanks! The script 1 was the cause of the problem.
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:09 AM.