View Single Post
  #8091    
Old March 30th, 2013 (04:10 PM).
karatekid552's Avatar
karatekid552 karatekid552 is offline
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Posts: 1,767
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Quote originally posted by Patrick Symus:
yes, I need them for a script tile, and do not know how to find them based on the script:
Spoiler:
#dynamic 0x82CDDB

#org @start
checkflag 0x828
if 0x1 goto @done
applymovement 0x02 @move
waitmovement 0x0
msgbox @1
boxset 0x6
applymovement 0x02 @move2
waitmovement 0x0
hidesprite 0x02
release
end

#org @done
release
end

#org @move
#raw 0x10
#raw 0x10
#raw 0x3
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x1
#raw 0x11
#raw 0x11

#org @move2
#raw 0x10
#raw 0x10
#raw 0x2
#raw 0x12
#raw 0x12
#raw 0x12
#raw 0x0
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10

#org @1
= [rival]: And here's my pokemon too!\pBye!
Vars are not dependent upon the script. In the settings in A-map, the var will only allow the script to run if var = value. Vars are like variables in math, they can be any number. In this post: http://www.pokecommunity.com/showpost.php?p=6829256&postcount=158 you will find a list of vars already used by the game. Feel free to use any var not listed (between 4000-40FF) or a var for which the event it was used for has been deleted.

To prevent an event from happening again, just add this as the last line of your script:

Setvar 0x[var you picked] 0x[not the value you put in A-map]
__________________

Paired with Simba