- 1
- Posts
- 14
- Years
- Seen Jun 12, 2011
Using Fire Red
editor Notepad to Pokescript
Trigger script
Here is what it shows in Pokescript after i've Compiled what i typed in notepad
#org 0x880107B
'-----------------------------------
takefurniture 0x636F
releaseall
cleartrainerflag 0x6C6C
comparefarbytetofarbyte 0x612042B 0x80114301
jumpstd 0xF
In game Y/N box comes up and Freezes
______________________
Edit: Wrote script into XSE But it Freezes upon standing on trigger
editor Notepad to Pokescript
Trigger script
Spoiler:
#org $Getpkmn
Lockall
Checkflag 0x1204
If b_true goto $skip
Message $hey
Boxset 6
Applymovement 0xFF $move
$move 1 ; #binary 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1D 0x1F 0xFE
Pausemove 0x0000
Message $hey2
Boxset 6
Applymovement 0xFF $move1
$move1 1 ; #binary 0x0E 0x0E 0x0E 0x0E 0x0E 0x0D 0x02 0xFE
Message $hey3
boxset 6
Pausemove 0x0000
#raw 0x53 0x55 0x01
Message $Get
boxset 6
Applymovement 0xFF $move2
$move2 1 ; #binary 0x03 0x0F 0x0F 0xFE
Applymovement 0x01 $move3
$move3 1 ; #binary 0x0F 0x0F 0x0F 0xFE
pausemove 0x0000
Message $Pkmn
boxset 6
Applymovement 0x01 $move4
$move4 1 ; #binary 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE
Pausemove 0x0000
#raw 0x53 0xEE 0x02
Setflag 0x1204
Releaseall
end
#org $skip
Releaseall
end
#org $hey
$hey 1 = Hey \v\h01 \p Over here I found something
#org $hey2
$hey2 1 = There is a pokemon over \nthere \p I think it is hurt
#org $hey3
$hey3 1 = Be careful \v\h01
#org $Get
$Get 1 = \c\h01\h04You picked up \nthe Kabuto
#org $Pkmn
$Pkmn 1 = That was really brave \pIt must be really hurt \p Lets take it to \nProf. Oak \p I will go on ahead
Lockall
Checkflag 0x1204
If b_true goto $skip
Message $hey
Boxset 6
Applymovement 0xFF $move
$move 1 ; #binary 0x1F 0x1F 0x1F 0x1F 0x1F 0x1F 0x1D 0x1F 0xFE
Pausemove 0x0000
Message $hey2
Boxset 6
Applymovement 0xFF $move1
$move1 1 ; #binary 0x0E 0x0E 0x0E 0x0E 0x0E 0x0D 0x02 0xFE
Message $hey3
boxset 6
Pausemove 0x0000
#raw 0x53 0x55 0x01
Message $Get
boxset 6
Applymovement 0xFF $move2
$move2 1 ; #binary 0x03 0x0F 0x0F 0xFE
Applymovement 0x01 $move3
$move3 1 ; #binary 0x0F 0x0F 0x0F 0xFE
pausemove 0x0000
Message $Pkmn
boxset 6
Applymovement 0x01 $move4
$move4 1 ; #binary 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0xFE
Pausemove 0x0000
#raw 0x53 0xEE 0x02
Setflag 0x1204
Releaseall
end
#org $skip
Releaseall
end
#org $hey
$hey 1 = Hey \v\h01 \p Over here I found something
#org $hey2
$hey2 1 = There is a pokemon over \nthere \p I think it is hurt
#org $hey3
$hey3 1 = Be careful \v\h01
#org $Get
$Get 1 = \c\h01\h04You picked up \nthe Kabuto
#org $Pkmn
$Pkmn 1 = That was really brave \pIt must be really hurt \p Lets take it to \nProf. Oak \p I will go on ahead
Here is what it shows in Pokescript after i've Compiled what i typed in notepad
Spoiler:
#org 0x880107B
'-----------------------------------
takefurniture 0x636F
releaseall
cleartrainerflag 0x6C6C
comparefarbytetofarbyte 0x612042B 0x80114301
jumpstd 0xF
In game Y/N box comes up and Freezes
______________________
Edit: Wrote script into XSE But it Freezes upon standing on trigger
Spoiler:
'---------------
#org 0x71ADB4
lock
checkflag 0x4B4
if 0x1 goto 0x871B219
msgbox 0x871AE1B MSG_NORMAL '"Hey [player] \p Over here I found ..."
applymovement MOVE_PLAYER 0x871AE43
waitmovement 0xFF
msgbox 0x871B064 MSG_NORMAL '"There is a pokemon over \nthere \p..."
applymovement MOVE_PLAYER 0x871B09A
msgbox 0x871B0A2 MSG_NORMAL '"Be careful [player]"
waitmovement 0xFF
hidesprite 0x4B5
setflag 0x1205
msgbox 0x871B188 MSG_NORMAL '"[red_fr]You picked up \nthe Kabuto"
applymovement MOVE_PLAYER 0x871B1A7
applymovement 0x1 0x871B1AB
waitmovement 0xFF
msgbox 0x871B1AF MSG_NORMAL '"That was really brave \pIt must be..."
applymovement 0x1 0x871B211
waitmovement 0x1
updatecoins 0xD9 0xED Not sure where this came from
nop This was to be a hide script
'---------------Both ends disappeared
#org 0x71B219
return
'---------
' Strings
'---------
#org 0x71AE1B
= Hey [player] \p Over here I found something
#org 0x71B064
= There is a pokemon over \nthere \p I think it is hurt
#org 0x71B0A2
= Be careful [player]
#org 0x71B188
= [red_fr]You picked up \nthe Kabuto
#org 0x71B1AF
= That was really brave \pIt must be really hurt \p Lets take it to \nProf. Oak \p I will go on ahead
'-----------
' Movements
'-----------
#org 0x71AE43
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0xFE 'End of Movements
#org 0x71B09A
#raw 0xE 'Step Left (Slow)
#raw 0xE 'Step Left (Slow)
#raw 0xE 'Step Left (Slow)
#raw 0xD 'Step Up (Slow)
#raw 0xE 'Step Left (Slow)
#raw 0xE 'Step Left (Slow)
#raw 0xFE 'End of Movements
#org 0x71B1A7
#raw 0xB 'Step Right (Very Slow)
#raw 0xB 'Step Right (Very Slow)
#raw 0xFE 'End of Movements
#org 0x71B1AB
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements
#org 0x71B211
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0xFE 'End of Movements
#org 0x71ADB4
lock
checkflag 0x4B4
if 0x1 goto 0x871B219
msgbox 0x871AE1B MSG_NORMAL '"Hey [player] \p Over here I found ..."
applymovement MOVE_PLAYER 0x871AE43
waitmovement 0xFF
msgbox 0x871B064 MSG_NORMAL '"There is a pokemon over \nthere \p..."
applymovement MOVE_PLAYER 0x871B09A
msgbox 0x871B0A2 MSG_NORMAL '"Be careful [player]"
waitmovement 0xFF
hidesprite 0x4B5
setflag 0x1205
msgbox 0x871B188 MSG_NORMAL '"[red_fr]You picked up \nthe Kabuto"
applymovement MOVE_PLAYER 0x871B1A7
applymovement 0x1 0x871B1AB
waitmovement 0xFF
msgbox 0x871B1AF MSG_NORMAL '"That was really brave \pIt must be..."
applymovement 0x1 0x871B211
waitmovement 0x1
updatecoins 0xD9 0xED Not sure where this came from
nop This was to be a hide script
'---------------Both ends disappeared
#org 0x71B219
return
'---------
' Strings
'---------
#org 0x71AE1B
= Hey [player] \p Over here I found something
#org 0x71B064
= There is a pokemon over \nthere \p I think it is hurt
#org 0x71B0A2
= Be careful [player]
#org 0x71B188
= [red_fr]You picked up \nthe Kabuto
#org 0x71B1AF
= That was really brave \pIt must be really hurt \p Lets take it to \nProf. Oak \p I will go on ahead
'-----------
' Movements
'-----------
#org 0x71AE43
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0x1D 'Step Down (Fast)
#raw 0x1F 'Step Left (Fast)
#raw 0xFE 'End of Movements
#org 0x71B09A
#raw 0xE 'Step Left (Slow)
#raw 0xE 'Step Left (Slow)
#raw 0xE 'Step Left (Slow)
#raw 0xD 'Step Up (Slow)
#raw 0xE 'Step Left (Slow)
#raw 0xE 'Step Left (Slow)
#raw 0xFE 'End of Movements
#org 0x71B1A7
#raw 0xB 'Step Right (Very Slow)
#raw 0xB 'Step Right (Very Slow)
#raw 0xFE 'End of Movements
#org 0x71B1AB
#raw 0x12 'Step Left (Normal)
#raw 0x12 'Step Left (Normal)
#raw 0xFE 'End of Movements
#org 0x71B211
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0x20 'Step Right (Fast)
#raw 0xFE 'End of Movements
Last edited: