Quote:
Originally Posted by HackMew
You're welcome.
Absolutely not. If you don't trust me, just decompile some trainerbattle scripts and watch how they work in-game.
Yes. The fact that using a trainerbattle 0x1 requires you to use 3 pointers, and not 2 two as you did.
Next version of XSE won't even allow you to compile it like that.
The syntax for trainer battle 0x1 is the following:
Code:
trainerbattle 0x1 [TrainerNo.] [Reserved (0x0 will be fine 99.99% of the times)] [BeforeText] [AfterText] [AfterScript]
An easy fix to your script would be to change the trainerbattle type from 0x1 to 0x0:
Code:
trainerbattle 0x0 [TrainerNo.] [Reserved (same as above)] [BeforeText] [AfterText]
|
*headsmack*
Thanks, HackMew.
EDIT: Not sure if this is a scripting problem or a rom problem..
Sorry for making you guys busy, but I have a script that involves a character. Here's the script -
But you see, that isn't the problem. The problem is, after the script, when I talk to him, he is supposed to have a normal talking script, shown below.
But he actually comes up with this script, which was actually assigned to another person on the map.
I made sure that they were assigned to different offsets, and the script that Brendan is using actually works for the person it was intended for. What did I do wrong?