The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Problem w/ Diegoawesome's tutorial

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 January 5th, 2017 (12:35 AM).
Ayonn-'s Avatar
Ayonn- Ayonn- is offline
The Unbelivable
 
Join Date: May 2014
Location: FRANCE
Gender: Male
Nature: Jolly
Posts: 209
Hi everyone, I'm currently learning scripting with diegoawesome's tutorial, but I'm stuck at a point...I tried to make a script following the things learned with it but when I go on the script's place, the game freeze. Diedo says in his tutorial that there's something to change but I can't see because the image is broken, can someone help me please ?
__________________
In current project...
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old January 5th, 2017 (6:48 AM).
Phantom Phoenix's Avatar
Phantom Phoenix Phantom Phoenix is offline
Lost on the road of life
 
Join Date: Oct 2015
Location: ???
Age: 26
Gender: Male
Nature: Calm
Posts: 167
have u set your var value of the script in A-Map?
Freezing mainly occurs if var value isn't set.
And show the actual script that ...so we can see what causing the problem.
__________________
Pokemon XYZ Version
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old January 5th, 2017 (8:02 AM).
Trev's Avatar
Trev Trev is offline
i gave you everything...
 
Join Date: May 2012
Age: 26
Gender: Male
Nature: Sassy
Posts: 1,505
I assume you're referencing green script tiles.

Here's an explanation:



I've squared in the two important parts. Var number is the variable that this script is assigned to. You have to assign each script tile to a variable or it won't work. Var value is the hex value assigned to that script (0x0, 0x1, 0xA, etc.). In order for the script to work, the hex value assigned to the variable at the time the player steps on the tile has to be less than or equal to the value in the Var value box. When the number is greater than the value in the Var value box, the script won't run again.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old January 8th, 2017 (3:21 PM).
Ayonn-'s Avatar
Ayonn- Ayonn- is offline
The Unbelivable
 
Join Date: May 2014
Location: FRANCE
Gender: Male
Nature: Jolly
Posts: 209
Quote:
Originally Posted by Trev View Post
I assume you're referencing green script tiles.



Here's an explanation:



I've squared in the two important parts. Var number is the variable that this script is assigned to. You have to assign each script tile to a variable or it won't work. Var value is the hex value assigned to that script (0x0, 0x1, 0xA, etc.). In order for the script to work, the hex value assigned to the variable at the time the player steps on the tile has to be less than or equal to the value in the Var value box. When the number is greater than the value in the Var value box, the script won't run again.

Thank you very much !
__________________
In current project...
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:17 AM.