![]() |
Script help.
Hey.
I use XSE and i tried to make just a simple script with a guy giving a pokemon. I tried it a long time ago and worked perfectly. Alright, the script is like this. I dont know why is not working, i just copied the script for testing it. It has a problem with the command "compare" i think. Spoiler:
Also if you can help me with another script i would appreciate that. I made a new town in A-map and i just want to make sure the player does not go in wild grass until he had obtained a Pokemon. Thank you! |
Quote:
Also, I believe you have to have a message there for "@checkup". I could be wrong. And is flag 1200 ok to use? |
Quote:
Actually i remember using it a long time ago. I copied the script which i found it and like i said before it worked perefectly. |
Quote:
Where does it stop working? You press "Yes" and get no Pikachu, or you get the Pikachu, but the boxes won't close... Where does it go bananas? |
The script should be working properly. You probably don't have rbh files that supports LASTRESULT change it to 0x800D compile and try it out in-game to see if it works. :)
|
Quote:
I tried to give it a try with no compare command, i can compile the script but if i choose "yes" it is like i choose no. So there is no "Yes" answer. |
"Error 13 'type mismatch' on line 9. Missing #define." That is what it keeps me saying.
|
Quote:
|
Spoiler:
|
Quote:
|
Quote:
Also if you want and you can help me with the other thing i wrote at the first post you rock. Thanks again! |
Quote:
Well there are different ways to approach this you can go with script tiles or simply npc's blocking the path. You can like do a hidesprite for the npc's if you are going with those and use the flag 0x828 since it's the one that activates the pokemon menu or maybe a level script to change the position of the npc. Since you're a beginner a script tile would probably be your best go although I can't make an example atm I'll edit the post once I finish what I'm currently doing lol. EDIT: TOTALLY FORGOT TO EDIT THIS LOL Anyways just put this script on a script tile with var 0x5000 just put that in the var number, tho I'm not sure if that's a safe var just change it lol. Spoiler:
I didn't really test this so tell me if something's wrong. :) |
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.