Thread: [Tutorial] Creating Level Scripts
View Single Post
  #32    
Old October 17th, 2009, 08:03 AM
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
I have a problem, you see.
Here's my script. I have set the level script type to 02.
Spoiler:
#dynamic 0x66666666666666666666666666

#org @start
lock
checkgender
compare LASTRESULT 0x1
if B_BOY goto @boy
setvar 0x4033 0x1
applymovement MOVE_PLAYER @movepl
applymovement 0x12 @mover
waitmovement 0x0
msgbox @whiomg MSG_NORMAL
applymovement 0x13 @moveprof
msgbox @proftalk MSG_NORMAL
applymovement MOVE_PLAYER @facedown
applymovement 0x12 @facedown
msgbox @pchoose MSG_NORMAL
msgbox @meg MSG_NORMAL
release
end

#org @movepl
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x2 0xFE

#org @mover
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x12 0x11 0x3 0xFE

#org @facedown
#raw 0x4 0x62 0xFE

#org @boy
setvar 0x4033 0x1
applymovement MOVE_PLAYER @movepl
applymovement 0x11 @mover
waitmovement 0x0
msgbox @whiomb MSG_NORMAL
applymovement 0x13 @moveprof
msgbox @proftalk MSG_NORMAL
applymovement MOVE_PLAYER @facedown
applymovement 0x13 @facedown
msgbox @pchoose MSG_NORMAL
msgbox @meb MSG_NORMAL
release
end

#org @moveprof
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x63 0xFE

#org @whiomb
= JACK: So, where is that old man?\nHe should've been here by now.

#org @whiomg
= LUCIA: So, where is that old man?\nHe should've been here by now.

#org @proftalk
= MANGO: Old? Me?\nI prefer the word ["]experienced".

#org @pchoose
= MANGO: Well, young lads.\nYou are here to get your first\lPOKéMON, right?\pWell, I've got three POKéMON and\neach of you may only get one.\lThe POKéMON are the following:\p[red_fr]LITSCORP,\n[black_fr]the FIRE-type POKéMON,\p[blue_fr]TADTURP,\n[black_fr]the GRASS-type POKéMON and\p[blue_fr]TARNAQUAX,\n[black_fr]the WATER-type POKéMON.

#org @meb
= JACK: It's okay, [player].\nYou can choose your POKéMON first.

#org @meg
= LUCIA: It's okay, [player].\nYou can choose your POKéMON first.

The problem is, the movements for 0x11, 0x12 and 0x13 don't work.
Yes, the player does move.
How do I fix this?
__________________
Reply With Quote