![]() |
Pksv event scripts not running
Hello,
I'm a newbie to rom hacking and scripting. I am using Advance map and pksv editor to try and create events. The sign, person and warp events work. However, I'm unable to get script events to work. I've watched a bunch of tutorials but once I've compiled the script and changed the offset, I try the game and nothing happens. The player just moves around normally as if nothing is there. I'm creating a script in which when initiated, an npc walks towards the player and says stuff. This is what I'm using: #org 0x87402A6 '----------------- lockall applymovement 0x18 @walk pauseevent 0x0 textcolor RED message @text callstd MSG_LOCK releaseall end #org @text = Hello, \p How are you?. #org @walk M walk_right walk_right walk_right walk_right walk_right I also had to change var number to a random 4 digit 'cause otherwise, the player just froze in place of script initiation. So, what am I doing wrong? Also, I couldn't find any info on when we use applymovement for an npc, what information do we use to define which one it is? Is 0x18 the person event no? Thanks! oxserk |
If the var number for the script is set to 1 (or anything other than 0?) it won't run. Set it to a var you aren't using (you can find unused ones online).
|
| All times are GMT -8. The time now is 9:20 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.