View Single Post
  #841    
Old March 1st, 2013, 08:27 PM
munchhack's Avatar
munchhack
Advanced Scripter
 
Join Date: Jun 2012
Location: Las Vegas
Age: 15
Gender: Male
Nature: Adamant
I have one problem, whenever I go outside, the script start for the first to applymovement, and then nothing happens. I get released, and the policeman just stands there. Here is my code:
Spoiler:

This is the original code:

#dynamic 0x16159C

#org @start
lock
setvar 0x7000 0x1
applymovement 0x1 @movePoPo
waitmovement 0x0
applymovement 0xFF @movePlayer
waitmovement 0x0
msgbox @Police1 0x6
msgbox @Player1 0x6
msgbox @Police2 0x6
msgbox @Player2 0x6
msgbox @Police3 0x6
msgbox @Player3 0x6
msgbox @Police4 0x6
msgbox @Player4 0x6
msgbox @Police5 0x6
msgbox @Player5 0x6
msgbox @Police6 0x6
applymovement 0x6 @ByePoPo
waitmovement 0x0
setflag 0x1
release
end



#org @movePoPo
#raw 0x12 0x54 0x62 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0xFE

#org @Police1
= [blue_fr]Policeman: Stop right\nthere!

#org @Player1
= [red_fr][player]: What did I do?!

#org @Police2
= [blue_fr]Policeman: Your a suspect,\nwhere where in the morning of\ltoday?

#org @Player2
= [red_fr][player]: Uh, sleeping?

#org @Police3
= [blue_fr]Policeman: Oops, my bad.\nSorry it's that I'm just fed up\lthat a woman got kidnapped.

#org @Player3
= [red_fr][player]:Yeah I know, that\n"woman" was my mom. I heard\leverything that happend.

#org @Police4
= [blue_fr]Policeman: Really?\nTell me everything you know.

#org @Player4
= [red_fr][player] ...

#org @Police5
= [blue_fr]Policeman: Oh so thats\nwhat happened, don't worry\l[player] we'll get your mom back.

#org @Player5
= [red_fr][player]: Go ahead, I'm\npretty sure I'll get to here before\lyou do.

#org @Police6
= [blue_fr]Policeman: Your pretty\nenthusiastic kid.

#org @ByePoPo
#raw 0x13 0x13 0x13 0x13 0x13 0x13 0x13 0xFE

#org @movePlayer
#raw 0x3 0xFE



And this is the code after i compile it:

'-----------------------
#org 0x71AA60
#raw 02
#raw pointer 0x871AA3E
#raw 00

'-----------------------
#org 0x71AA3E
#raw word 0x7000
#raw word 0x0
#raw pointer 0x816269B
#raw word 0x0

'-----------------------
#org 0x16269B
lock
setvar 0x7000 0x1
applymovement 0x1 0x8162707
waitmovement 0x0
applymovement MOVE_PLAYER 0x81629FE
waitmovement 0x0
msgbox 0x8162712 '" blueefrrPoliceman: Stop right\nthe..."
msgbox 0x816273A '" reddfrr[player]: What did I do?!"
msgbox 0x816277A '" blueefrrPoliceman: Your a suspect,..."
msgbox 0x81627C6 '" reddfrr[player]: Uh, sleeping?"
msgbox 0x81627E7 '" blueefrrPoliceman: Oops, my bad.\n..."
msgbox 0x8162848 '" reddfrr[player]:Yeah I know, that\..."
msgbox 0x81628A1 '" blueefrrPoliceman: Really?\nTell m..."
msgbox 0x81628DC '" reddfrr[player] ..."
msgbox 0x8162912 '" blueefrrPoliceman: Oh so thats\nwh..."
msgbox 0x8162972 '" reddfrr[player]: Go ahead, I'm\npr..."
msgbox 0x81629C1 '" blueefrrPoliceman: Your pretty\nen..."
applymovement 0x6 0x81629F5
waitmovement 0x0
setflag 0x1
release
end


'-----------
' Movements
'-----------
#org 0x162707
#raw 12 'Step Left (Normal)
#raw 54 'Jump in Place (Facing Left)
#raw 62 'Exclamation Mark (!)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw 1F 'Step Left (Fast)
#raw FE 'End of Movements

#org 0x1629FE
#raw 3 'Face Right
#raw FE 'End of Movements

#org 0x1629F5
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw FE 'End of Movements


'---------
' Strings
'---------
#org 0x162712
= blueefrrPoliceman: Stop right\nthere!

#org 0x16273A
= reddfrr[player]: What did I do?!

#org 0x16277A
= blueefrrPoliceman: Your a suspect,\nwhere where in the morning of\ltoday?

#org 0x1627C6
= reddfrr[player]: Uh, sleeping?

#org 0x1627E7
= blueefrrPoliceman: Oops, my bad.\nSorry it's that I'm just fed up\lthat a woman got kidnapped.

#org 0x162848
= reddfrr[player]:Yeah I know, that\nwoman was my mom. I heard\leverything that happend.

#org 0x1628A1
= blueefrrPoliceman: Really?\nTell me everything you know.

#org 0x1628DC
= reddfrr[player] ...

#org 0x162912
= blueefrrPoliceman: Oh so thats\nwhat happened, don't worry\l[player] we'll get your mom back.

#org 0x162972
= reddfrr[player]: Go ahead, I'm\npretty sure I'll get to here before\lyou do.

#org 0x1629C1
= blueefrrPoliceman: Your pretty\nenthusiastic kid.


Oh and btw, if you reply please pm me, because I probably won't see it if you just reply here, or if you vm me.
Reply With Quote