View Single Post
  #7532    
Old January 14th, 2013 (07:46 AM).
hukurae's Avatar
hukurae
Unhatched Egg
 
Join Date: Aug 2009
Gender: Male
Spoiler:

'---------------
#org @start
lockall
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]."
closeonkeypress
doanimation 0x2
waitstate
goto @snippet3

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

'---------------
#org @snippet2
closeonkeypress
releaseall
end

'---------------
#org @snippet3
applymovement LASTTALKED @move1
waitmovement 0x0
hidesprite LASTTALKED
releaseall
end


'---------
' 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' ?