So according to you Zodiac something like this would work!
Code:#Dynamic 0x800000 #ORG @Main Lock FacePlayer checkflag 0x200 if b_true goto @gotit GivePokemon 25 5 4 0 0 0 message @recieved setflag 0x200 Release End #ORG @gotit message @howis Release End #ORG @recieved =Here is pikachu! #ORG @howis =How is pikachu doing?
#ORG @recieved
=Here is pikachu!
#ORG @howis
=How is pikachu doing?
#ORG @recieved
= Here is pikachu!
#ORG @howis
= How is pikachu doing?
Oh, well... If it can wait a few days the new version of XSE will have color codes included. :) Otherwise, PM me, and I'll explain.Oh, I'm using a script test Rom for Fire Red.
Well, why do you have two setflags, try giving the 0x828 just away. I am not a XSE-Pro, I am also only learning right now, but I know some stuff about PokeScript..so yeah..
That will work fine. Except I think you need a space after the "=" in Text Scripts.Should beCode:#ORG @recieved =Here is pikachu! #ORG @howis =How is pikachu doing?
Code:#ORG @recieved = Here is pikachu! #ORG @howis = How is pikachu doing?
Oh, well... If it can wait a few days the new version of XSE will have color codes included. :) Otherwise, PM me, and I'll explain.
My script glitches, when I talk to the person assigned with this it shows no text but gives the poke, then when I go to bag, you change your character to the giver of the pokemon! What did I do wrong, here is my improved script
Spoiler:#Dynamic 0x71A2EC
#ORG @Main
Lock
FacePlayer
checkflag 0x200
if b_true goto @gotit
GivePokemon 25 5 4 0 0 0
message @recieved
setflag 0x200
Release
End
#ORG @gotit
message @howis
Release
End
#ORG @recieved
= Here is pikachu!
#ORG @howis
= How is pikachu doing?
This happened to me, If you change maps before going to the bag it shouldnt switch characters. I wish I could tell you how to fix it, but if you do let me know I would like to fix that on mine too :)
here, its a bit improved, I did it in a rush, tell me if there's errors. Um, you've forgot to put boxset under message. There's no need to use CAPs(Uppercase) but thats upto you.#Dynamic 0x71A2EC
#ORG @Main
Lock
FacePlayer
checkflag 0x200
if b_true goto @gotit
GivePokemon 0x25 0x5 0x4 0x0 0x0 0x0
message @recieved
boxset 0x2
setflag 0x200
Release
End
#ORG @gotit
message @howis
boxset 0x2
End
#ORG @recieved
= Here is pikachu!
#ORG @howis
= How is pikachu doing?
here, its a bit improved, I did it in a rush, tell me if there's errors. Um, you've forgot to put boxset under message. There's no need to use CAPs(Uppercase) but thats upto you.
#dynamic 0x71A2E0
#org @beginning
lockall
checkflag 0x200
if b_true goto @gotit
applymovement 0x2 0x71A2E0
applymovement MOVE_PLAYER 0x71A41C
waitmovement 0x0
call 0x71A41C
boxset 0x2
releaseall
end
'-----------
' Movements
'-----------
#org 0x71A2E0
#raw 12 'Step Left (Normal)
#raw 4A 'Face player
#raw FE 'End of Movements
#org @gotit
release
end
First off, you really shouldn't be using a mix of Dynamic and Static Offsets in your script. This makes it kind of difficult to read...Thanks, it worked, time to add my movement script, this is gonna be the beginning of new hack!
My Movement script is like this and when I compile and open it adds every movement so it confuses itself while moving and freezes, why is it doing this!
Code:#dynamic 0x71A2E0 #org @beginning lockall checkflag 0x200 if b_true goto @gotit applymovement 0x2 0x71A2E0 applymovement MOVE_PLAYER 0x71A41C waitmovement 0x0 call 0x71A41C boxset 0x2 releaseall end '----------- ' Movements '----------- #org 0x71A2E0 #raw 12 'Step Left (Normal) #raw 4A 'Face player #raw FE 'End of Movements #org @gotit release end
#Dynamic 0x3B4D84
#org @Main
Lock
FacePlayer
Message @Speak
BoxSet 0x06
release
end
#org @Speak
= "Hey!"
#Dynamic 0x3B4D84
#org @Main
Lock
FacePlayer
Message @Speak
BoxSet 0x06
release
end
#org @Speak
= "Hey!"
'-----------------------
#org 0x3B4D84
And the person doesn't talk to me ingame. What am I doing wrong?
to:#Dynamic 0x3B4D84
#org @Main
Lock
FacePlayer
Message @Speak
BoxSet 0x06
release
end
#org @Speak
= "Hey!"
#dynamic 0xYour Free Space Offset
#org @Main
message @speak
boxset 0x2 ' 0x2 contains a builtin faceplayer and lock
end
#org @speak
= "Hey!"
of course there's something wrong, you've completely mistaken XSE as pokewitch, XSE uses the original method for msgbox scripts. Here's the codeuhhh...what's wrong with these it says....
"unknown keyword "@poke" at line 9"
Once again, this here's XSE, not pokewitch. Plus there's command help, just press F1 if you don't understand any command or if it says unknown keyword-honestly do anyone ever bother reading the command database before scripting?#dynamic 0x800000
#org @Start
msgbox @msg
boxset 0x2
end
#org @msg
= ....
lol, you're not supposed to use offsets anyhow, try looking for lot of FF's(byte 0xFF), FF means free space, other than that it means its used. Try to optimise your script also:
to:
'-----------------------
#org 0x3B4D84
lock
faceplayer
msgbox2 0x8456734 '""
callstd 0x6
release
end
'---------
' Strings
'---------
#org 0x456734
= Hey! How are you?
#dynamic 0x71A5F8
#org @start
lock
faceplayer
checkflag 0x829
checkflag 0x828
if b_true goto @letin
message @message
callstd 0x6
release
end
#org @letin
message @open
boxset 0x6
warp 0x3 0x66 0xFF 0x6 0x17
release
end
#org @message
= I cannot let you pass\nGet your pokemon from\pJesse outside and your\npokedex from that\ptable.
#org @open
= You may proceed.