(Copy/pasted from XSE) Thanks in advance! :D'---------------
#org 0xBCD123
checkflag 0x222
if 0x0 goto 0x88007A9
applymovement 0x4 0x8800943
waitmovement 0x0
msgbox 0x8800800 MSG_NORMAL '"???: [player]!"
applymovement MOVE_PLAYER 0x88007E6
waitmovement 0x0
applymovement 0x4 0x88007EA
waitmovement 0x0
msgbox 0x880080B MSG_NORMAL '"Aide: Happy Birthday!\pCome with m..."
applymovement 0x4 0x88007EF
applymovement MOVE_PLAYER 0x88008EF
waitmovement 0x0
msgbox 0x880094F MSG_NORMAL '"Aide: Through this door."
release
end
'---------------
#org 0x8007A9
release
end
'---------
' Strings
'---------
#org 0x800800
= ???: [player]!
#org 0x80080B
= Aide: Happy Birthday!\pCome with me, the Professor has\nsomething for you[.]
#org 0x80094F
= Aide: Through this door.
'-----------
' Movements
'-----------
#org 0x800943
#raw 0xDD 'movDD
#raw 0xE2 'movE2
#raw 0xDB 'movDB
#raw 0xAB 'movAB
#org 0x8007E6
#raw 0x63 'Question Mark (?)
#raw 0x3 'Face Right
#raw 0xFE 'End of Movements
#org 0x8007EA
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements
#org 0x8007EF
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x2 'Face Left
#raw 0xFE 'End of Movements
#org 0x8008EF
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements
What exactly can you do with call 0xoffset? What can you use this for?
...
...
call @back
msgbox @talk 0x6
...
...
end
#org @back
msgbox @called 0x6
[B]return[/B]
#org @called
= You called?
#org @talk
= Oh, you're back!
I use it for stuff like giving Pokemon and Pokedexs;What exactly can you do with call 0xoffset? What can you use this for?
#dynamic 0xoffset
#org @start
lock
faceplayer
msgbox @1 msg_normal
call @pokedex
release
end
#org @1
= Here's a Pokedex.
#org @pokedex
setflag 0x829
fanfare 0x13E
msgbox @2 msg_keepopen
waitfanfare
closeonkeypress
return
#org @4
= \v\h01 recieved a Pokedex.
But then you'd have to change warps, AND make a new level script, which would take a while for him to learn. =\go to the MEGA-HUGE xsetutorial and just read up on how to change the applymovement commands to make him walk in a different path
Where can I find this tutorial? Ive read many before but i have a very low attention span :Pgo to the MEGA-HUGE xsetutorial and just read up on how to change the applymovement commands to make him walk in a different path
It's in the front post, <.<Where can I find this tutorial? Ive read many before but i have a very low attention span :P
I'm really trying I promise I just don't know what to change or where to start? Im lost. The tutorial helped a little but as I said I don't know where to start... Can someone shed light onto my problem :/ ?
If it was a type 0x02 level script then regardless of how much code is run, it will stop the "route name box" from coming down. If you use another type of level script (I'd try 0x01 (setmaptile)), then the script will be run before the map loads and the route name box should show up.
The only problem I have with these scripts is that the set flag so that they dont reactivate dont work, the flags Ive used have not been used before and im sure ive just made a noobish mistake thanks in advance ;)
Spoiler:#org 0x800611
@start
checkflag 0xA
if 0x1 goto @done
lock
faceplayer
msgbox @1 0x6
applymovement 0xFF @move
waitmovement 0x0
msgbox @2 0x6
cry 0x20 0x0
wildbattle 0x20 0x5 0x0
hidesprite 0x800F
setflag 0x9
applymovement 0x3 @move2
waitmovement 0x0
msgbox @3 0x6
setflag 0xA
release
end
#org @done
release
end
#org @1
= Somebody Help Me!
#org @2
= NIDORAN: Nido! Nido!
#org @3
= Thank you for saving me. \nMy names Sam and I would \llove to reward you but I \lhave nothing sorry.
#org @move
#raw 0x62
#raw 0x11
#raw 0x13
#raw 0x13
#raw 0xFE
#org @move2
#raw 0x10
#raw 0x2
#raw 0x66
#raw 0xFE
Spoiler:#dynamic 0x800000
#org @start
checkflag 0x8
checkflag 0x82F
checkflag 0x829
checkflag 0x828
if 0x1 goto @done
lock
faceplayer
msgbox @1 0x6
applymovement 0xFF @move
waitmovement 0x0
msgbox @2 0x6
setflag 0x82F
setflag 0x829
setflag 0x828
setflag 0x8
release
end
#org @done
release
end
#org @1
= Mom: [PLAYER] come here a second please.
#org @move
#raw 0x12
#raw 0xFE
#org @2
= Mom: I knew this day \nwould come. So here is your \lPokedex and running shoes. \pAnd please be safe.
Spoiler:#dynamic 0x80000
#org @start
checkflag 0x7
if 0x1 goto @done
lock
faceplayer
msgbox @1 0x6
setflag 0x7
release
end
#org @done
release
end
#org @1
= Mom: [PLAYER] your friends are \nwaiting.
Spoiler:#dynamic 0x800000
#org @start
checkflag 0xC
lock
faceplayer
applymovement 0x03 @move
waitmovement 0x0
msgbox @1 0x6
applymovement 0x03 @move2
applymovement 0xFF @move3
waitmovement 0x0
msgbox @2 0x6
givepokemon 0x118 0x5 0x169 0x0 0x0 0x0
fanfare 0x13E
msgbox @7 0x4
msgbox @8 0x6
applymovement 0x05 @move4
waitmovement 0x0
msgbox @9 0x6
applymovement 0x03 @move5
waitmovement 0x0
msgbox @10 0x6
applymovement 0x02 @move6
applymovement 0x04 @move7
waitmovement 0x0
hidesprite 0x02
hidesprite 0x03
hidesprite 0x04
hidesprite 0x05
setflag 0x200
setflag 0xC
release
end
#org @move
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0x1D
#raw 0xFE
#org @1
=[PLAYER]c'mon Tom the Researcher is \ngiving out pokemon!
#org @move2
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE
#org @move3
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0xFE
#org @2
= Tom: Now you two. \nI think I know what Pokemon are right \lfor you.\pMark: Me and Holly have already got \nours I got a Squirtle and holly \lgot a Treeko.\pTom: Now Lunar here is your \npokemon.\p[red_fr]Lunar received an Eevee!\pTom: [PLAYER] it was hard to decide \nwhat pokemon you should have but \leventually I decided.
#org @7
= [red_fr][PLAYER] received a Torchic
#org @8
= Tom: Well good look on your \nAdventures!
#org @move4
#raw 0x1D
#raw 0x1D
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0xFE
#org @9
= Lunar: Well this is it \nI hope we meet up soon \lCya!
#org @move5
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0xFE
#org @10
= Holly: C'mon Mark. \n[PLAYER] we'll be in the next \ltown just off route 1. \l Cya there.
#org @move6
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0xFE
#org @move7
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0x20
#raw 0xFE
...
checkflag 0x8
checkflag 0x82F
checkflag 0x829
checkflag 0x828
if 0x1 goto @done
...