What if I made a Huge script and it accidentally enters another Bank? will it continue to work?The other free space would be unsuitable because scripts have to be repointed to within their own data bank. A bank is 0x4000 bytes. This bank, for example, consists of all the data from 120000 to 123FFF. You could theoretically repoint the data to anywhere in this bank, but in the vast majority of cases it's best to use free space if it's available.
This doesn't explain how to change direction, and the compendium isn't very clear either. I try to turn to face a certain direction, but the character just turns and keeps moving down...MOVEMENTS
6A 47 4C xx xx 53 49 69 xx xx 90
Ok, New codes here. 69 is the movement of the talked-to person, and 68 is movement for any person but you have to put people no.
the command 69 requires a 2 byte pointer to the movement data and the movements are below. After you've pointed to the movements, end the movements with a 47 command. Ok, so you talk to someone, then they tell you something, and then the move around, yay! You made a movement script!
ie 0C = walk down, 0D = walk up, 0E = walk left, 0F = walk rightAlways in order: down, up, left, right; always 4 per action
Moving scripts:
00 = Turn head
04 = ½ step
08 = slow step
0C = step
...
First realize what you need to do:i found this thread very helpful in starting up the scripts but i need to know how to set up a legendary pokemon event
i.e. an overworld sprite that when talked to says 'GYOOOOOO' and starts a battle with zapdos one time only
First realize what you need to do:
- Open text box
- Print text
- Start battle
- Set a flag so it only happens once
Now look at Tauwasser's document and see what commands you'll need. If you're having trouble, find the in-game scripts for Pokemon such as Ho-oh or Sudowoodo and see how they're built, then change it so that it'll use Zapdos.