![]() |
First movement script not working AKA tearing my hair out
Hi! So I just wrote my first Big Boy Script, and no matter what I've tried so far, walking over the script tile in question results in big fat nothing. It doesn't freeze, but the player sprite walks right on by with nothing happening at all. I'll try to put all pertinent info below. If you can help me figure out what I'm doing wrong, I would really appreciate it. I'm using XSE and Advancemap
Script: Spoiler:
XSE settings: Spoiler:
That's all the pertinent info I could think of. Thanks in advance! |
The first things to check would be whether flag 0x960 has accidentally already been set, causing you to jump to your end-and-do-nothing script; and also whether var 4050 is actually 0 - if it isn't the script would rightly not activate. Try switching the checkflag to "if 0x0 goto", and try using other var values or var numbers. If that changes nothing, we'll look into it more, but those would be the first things to look at :)
|
@WistyFish
1: Have expanded the amount of available flags? Flag 0x960 is not available in vanilla Fire Red, check this for a comprehensive flag list. 2: Are you sure variable 0x4050 actually contains value 0x0 and has not been set to anything else in-game? Check this for a comprehensive variable list. 3: The first unknown value in AdvanceMap should be the current height the protagonist is on +1. The highest available height in the vanilla games is 13. You probably need to set it to 0x0003 instead of 0x0300 (if the player is on a movement permission block C). |
Quote:
As far as the var number, I honestly don't understand those numbers at all, and am basing what I am doing on a comment I saw on an old thread. I clearly need to do more research into this. I will fiddle with these and update! |
Quote:
Quote:
|
It was the variable! Changed it to 0x4059, and the script works exactly as I wanted it to. Well... Actually I need to tweak the movements a little but that's no issue. I also partially understand what a Variable ID is now! Progress!
I could cry. Thanks to both of you! Now I get to work on a scripted battle!.... y.. yaaay?? |
Quote:
|
| All times are GMT -8. The time now is 9:16 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.