![]() |
setvar
hi guys i have some questions that the script below i show it contain setvar variable and value i want to ask that from where this variable and value come
#org 0x8A0AD7 lock sound 0x9 showsprite 0x4 applymovement 0x4 0x88A0D0A waitmovement 0x4 sound 0x9 showsprite 0x5 sound 0x15 applymovement 0x4 0x882052C applymovement 0x5 0x882052C waitmovement 0x0 getplayerpos 0x4000 0x4001 compare 0x4000 0x18 if 0x1 call 0x88A0D9A compare 0x4000 0x19 if 0x1 call 0x88A0D74 compare 0x4000 0x1A if 0x1 call 0x88A0CBD compare 0x4000 0x1B if 0x1 call 0x88A0DCA sound 0x15 applymovement MOVE_PLAYER 0x882052C waitmovement 0x0 textcolor 0x0 msgbox 0x88A0B89 MSG_NORMAL '"Oh, look!\nA real live POKéMON!\pI..." applymovement 0x4 0x88A0D0A applymovement 0x5 0x88A0D0A waitmovement 0x0 applymovement 0x5 0x8805F31 waitmovement 0x5 applymovement 0x5 0x8809D03 applymovement 0x4 0x8809D03 waitmovement 0x0 hidesprite 0x4 hidesprite 0x5 setvar 0x7034 0x1 release end |
Variable 0x7034 is way too big to be used in your game, please refer to THIS tutorial about what vars are safe.
And if you want to check it in a different script just go a compare command, it appears you've already used one in your script so I'm not really sure what you're even asking. |
Quote:
|
Quote:
|
Quote:
|
| All times are GMT -8. The time now is 2:30 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.