The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Issues editing Oak's Dialogue

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 July 13th, 2020 (6:35 PM).
MiinionX MiinionX is offline
 
Join Date: Sep 2018
Posts: 10
Hello there! I'm trying to edit Oaks dialogue so that he explains a new item after explaining the Pokedex. Upon compiling I am given error code 9 'subscript is out of range on line 159' (Underlined below) Here is the excerpt of code I changed:


msgbox 0x818E612 MSG_KEEPOPEN '"Oak: You can't get detailed data\n..."
additem 0x4 0x5
loadpointer 0x0 0x818E6B3 '"[player] received five Poké Balls."
giveitem2 0x4 0x5 0x101
msgbox 0x818E6D0 MSG_KEEPOPEN '"When a wild Pokémon appears,\nit's..."
setvar 0x8004 0x0
setvar 0x8005 0x1
special 0x173
msgbox @hyper 0x6
pause 0xA
textcolor 0x3
fanfare 0x13E
preparemsg 0x1CE2500 '"[player] received the Hyper Band \nfro..."
waitmsg
waitfanfare
additem 0x4 0x15B
msgbox 0x818E784 MSG_KEEPOPEN '"To make a complete guide on all\nt..."

If anybody could tell me the issue I'd love to know, thank you.
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:15 AM.