View Single Post
Old January 14th, 2013 (12:29 PM).
karatekid552's Avatar
karatekid552 karatekid552 is offline
What happens if I push it?....
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Posts: 1,766
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Originally Posted by hukurae View Post

#org @start
checkflag 0x807
if 0x0 goto @snippet1
checkattack ATK_CUT
compare LASTRESULT 0x6
if 0x1 goto @snippet1
setanimation 0x0 LASTRESULT
bufferpartypokemon 0x0 LASTRESULT
bufferattack 0x1 ATK_CUT
msgbox @string1 MSG_YESNO '"This tree looks like it can be CUT..."
compare LASTRESULT 0x0
if 0x1 goto @snippet2
msgbox @string2 MSG_KEEPOPEN '"[buffer1] used [buffer2]."
doanimation 0x2
goto @snippet3

#org @snippet1
msgbox @string3 MSG_SIGN '"This tree looks like it can be CUT..."

#org @snippet2

#org @snippet3
applymovement LASTTALKED @move1
waitmovement 0x0
hidesprite LASTTALKED

' Strings
#org @string1
= This tree looks like it can be CUT down.\pWould you like to CUT it?

#org @string2
= [buffer1] used [buffer2].

#org @string3
= This tree looks like it can be CUT down.

' Movements
#org @move1
#raw 0x5B 'mov5B
#raw 0xFE 'End of Movements

Here's what I got from breaking down a script of a tree for CUT

I searched for #raw 0x5B but couldn't find it ?

What is that for ? Is it an animation for 'tree being cut down' ?

You are correct, if you look in OWRE, you can see that the tree animation is just frames like your hero uses, and therefore can be controlled with a simple applymovement. Not all raw movements are completely documented, which is why you couldn't find it.

Paired with Simba