Shiny Quagsire
I'm Still Alive, Elsewhere
- 697
- Posts
- 15
- Years
- Age 27
- Hoenn Safari Zone
- Seen Aug 8, 2020
Is there any way to display a variable in a message box without a buffer? I've tried to combine buffers, but it doesn't work. :(
I think my head is going to explode! I've been trying to get this ONE script to work for hours now. Little help please?
Spoiler:
First here is the script:
-----------------------------
'---------------
#org 0x8001FD
lock
faceplayer
msgbox 0x880021E MSG_KEEPOPEN '"My name is Red. Let's battle[.]"
trainerbattle 0x3 0x1 0x0 0x880023E
fadescreen 0x1
fadescreen 0x0
hidesprite LASTTALKED
setflag 0x2000
release
end
'---------
' Strings
'---------
#org 0x80021E
= My name is Red. Let's battle[.]
#org 0x80023E
= [.]
------------------------------
Now the problem:
What I want to happen is: Battle the trainer, trainer disappears, jobs a good 'un.
Here's what happens: Battle the trainer, trainer disappears, leave area, come back and he's there again.
Also, sometimes he doesn't even show up first time. Sometimes I can enter where he is (viridian forest) and he's not there (on a new game), then I can leave and come back and he's there. Strange...
Person event number 12 and Person ID 2000, if that helps...
checkflag 0x2000
if 0x1 goto @end
#org @end
release
end
Yeah, that worked.well i think your problem is the unknown value set it back to 0000 and the text color thing dont use it i pretty much copied/pasted your script the only difference is that i dint put the unknown value and the text color try it and tell me oh and it work flawlessly
I have no idea Binary. I have it set how it is in that picture I attached, I just named the person ID the same as the setflag. I got the event ID right I know that much :/
flag 0x2000 may be too high, change it to the 1000 region.