View Single Post
  #6419    
Old January 31st, 2012 (01:48 PM).
droomph's Avatar
droomph
mmm gurl that 90s
Community Supporter
 
Join Date: Sep 2011
Location: bar'jách
Age: 17
Gender: Male
Nature: Impish
Quote originally posted by redo:
Code:
'---------------
#org 0x8052A4
checkflag 0x111
if 0x0 goto 0x88055A5
lock
applymovement 0x3 0x8801C65
waitmovement 0x3
msgbox 0x88054E2 MSG_FACE '"Hallo [player]\v\h05!\pSchön dich ..."
msgbox 0x8805557 MSG_FACE '"Wie dem auch sei.\pLass und nach H..."
applymovement 0x3 0x88055F8
applymovement MOVE_PLAYER 0x880561B
clearflag 0x111
release
end

'---------------
#org 0x8055A5
release
end


'---------
' Strings
'---------
#org 0x8054E2
= Hallo [player]\v\h05!\pSchön dich zu sehen.\nHattest du eine angenehme Fahrt?\pDein Handtuch guckt übrigens aus\ndeinem Rucksack.

#org 0x805557
= Wie dem auch sei.\pLass uns nach Hause fahren und\ndort alles Weitere bereden.


'-----------
' Movements
'-----------
#org 0x801C65
#raw 0x56 'Exclamation Mark (!)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xB 'Step Right (Normal)
#raw 0xFE 'End of Movements

#org 0x8055F8
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements

#org 0x80561B
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0xA 'Step Left (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements
The problem is the applymovement nr. 2 and 3 (applymovement 0x3 0x88055F8, applymovement MOVE_PLAYER 0x880561B)

The person 0x3 and the player won't move as ordered. After 0x3 moves to the player and talks to him they should go both together 12steps left and 21 steps up. But after the first applymovement and the talking nothing happens (without crashing, I can move). What could be wrong?
The problem here is that you already set lock three times and faceplayer two times. The first time it works because lock keeps the player in place, thus nothing is wrong with the other sprite that moves. The second time, however, you and the sprite are both locked down, so no command can move you two.

Try doing either a release or a releaseall before applying the movements again.

(Also, for the computer's sake, make the second MSG_FACE a MSG_NORMAL.)
__________________
did u no there r 21 letters in the alphabet
o i forgot 5
uraqt