The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script What is wrong with this script?

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 June 18th, 2017 (8:31 PM).
Matthatter03 Matthatter03 is offline
 
Join Date: Dec 2015
Gender: Male
Posts: 71
I put the script below. The player is supposed to walk onto a script event and wonder what pokemon he will get. Once he has done this, nothing will happen if he walks over the event again. When I try to play, I just freeze when I step onto the script. Why does the message not appear?
Attached Images
File Type: png script1.PNG‎ (114.9 KB, 17 views) (Save to Dropbox)
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old June 18th, 2017 (10:28 PM). Edited June 18th, 2017 by SkyVortex.
SkyVortex's Avatar
SkyVortex SkyVortex is offline
 
Join Date: Jan 2017
Location: Ice Path
Gender: Male
Nature: Mild
Posts: 228
You might be using an incorrect Var Number, or it may have a value that causes it to freeze.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old June 18th, 2017 (11:53 PM).
Sakib66's Avatar
Sakib66 Sakib66 is offline
 
Join Date: Jan 2017
Gender: Male
Nature: Adamant
Posts: 196
Quote:
Originally Posted by Matthatter03 View Post
I put the script below. The player is supposed to walk onto a script event and wonder what pokemon he will get. Once he has done this, nothing will happen if he walks over the event again. When I try to play, I just freeze when I step onto the script. Why does the message not appear?
You have to use "setvar" command and put a value in script and Advance map. They must be different otherwise script will always run
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old June 19th, 2017 (2:29 PM).
Matthatter03 Matthatter03 is offline
 
Join Date: Dec 2015
Gender: Male
Posts: 71
Quote:
Originally Posted by Sakib66 View Post
You have to use "setvar" command and put a value in script and Advance map. They must be different otherwise script will always run
I don't understand the setvar command very well, could you show an example on how I would use it in this script?
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old June 19th, 2017 (10:25 PM).
Sakib66's Avatar
Sakib66 Sakib66 is offline
 
Join Date: Jan 2017
Gender: Male
Nature: Adamant
Posts: 196
Quote:
Originally Posted by Matthatter03 View Post
I don't understand the setvar command very well, could you show an example on how I would use it in this script?
Click here
http://pokemonhackersonline.com/showthread.php?t=14110
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old June 20th, 2017 (3:57 PM).
Matthatter03 Matthatter03 is offline
 
Join Date: Dec 2015
Gender: Male
Posts: 71
Quote:
Originally Posted by Sakib66 View Post
Alright thanks a ton, I figured it out.
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:18 AM.