You are not logged in.
So I'm struggling with a script I made and it just doesn't seem to work what ever I try.
The Person Data begins at 18849B and is like this:
41 07 06 09 00 FF FF C2 (person being a trainer byte) 00 B0 8E (points to the trainer script) FF FF
B0 8E --> 188EB0
AB04 3208 0090 7390 0000 BC8E 65 47 4C F390 53 49 90
So, at least for now, I'm trying to make him say text at
189000, 189073 & 1890F3 and battle you but the battle won't start as the game just freezes at the moment when that person is talked to.
0xB0 0x8E doesn't point to anywhere inside the rom bank. It points to 0x8EB0 in VRAM. 0x00 0x90, and 0x73 0x90 also don't point to your text.
Your main problem with everything you do seems to be that you don't understand pointers properly.
Okay, what should I replace them with then ?
I've checked other person datas as examples and so this is what I came up with.
For example this in 135510;
24 0E 13 08 00 FF FF 82 00 C7 4F...
So this works because 0x4FC7 is between 0x4000 and 0x7FFF, right?
This thing got in my mind before so I tried changing B0 8E to B0 4E but it didn't seem to work much better, it didn't freeze though. But what should I change those bytes into ?
I'm not sure if you have read it or not, but Coolboyman put up a good tutorial on pointers so you can get your head around them.