View Single Post
  #348    
Old December 13th, 2012 (08:32 AM).
metalflygon08's Avatar
metalflygon08 metalflygon08 is offline
BIG PECKS
 
Join Date: Jan 2010
Gender: Male
Posts: 187
Since DS map hacking is now a thing, scripting is gonna have to be known too, and I havn't seen any compiled list of Script and movement commands, so I made some using trial and error

Spoiler:
SCRIPT FUNCTIONS
Lockall-Locks NPCs and starts script.
Faceplayer-Makes NPC face you.
Message #-Assign a text number, it will bring up that line of dialouge.
WaitButton-Waits until you press A or B
CloseMsgOnKeyPress-Closes the message upon pressing A or B (goes with waitbutton)
TrainerBattle # 0 1-Assign a trainer's number to have the battle against that trainer
Releaseall-(must be there with lockall) allows other NPCs to move again.
End-ends script, must have too
Applymovement # mov_#-applies movement to the OW the # is assigned to, and applies the movement set assigned to the mov_#
Waitmovment-waits til movement is finished before continueing the script.
Removepeople #-removes the NPC assigned to it
Receive MEgg-recieve the Togepi Egg
GiveEgg 175 11-Cynthia's egg script from platinum
Setflag 106-?Gives Pokemon option?
Setflag 283-Gives Bag Option
Setflag 284-Gives Trainer Option
Setflag 285-Gives Save option
Serflag 286-Gives Option option
Setflag 156-Gives PokeGear
ActPkgrFunction 1-Loads Town Map into Pokegear
GiveRShoes-Gives Running Shoes
PlayMusic 1067-Plays Oak's theme
ActPokedex-Activates the Pokedex
Setflag 107-Gives Pokedex Option

MOVEMENT COMMANDS

Exclaim

SeeUp
SeeRight
SeeDown
SeeLeft

WalkUpFast/Normal/Slow
WalkRightFast/Normal/Slow
WalkDownFast/Normal/Slow
WalkLeftFast/Normal/Slow

RunUp
RunRight
RunDown
RunLeft

JumpFacingUp
JumpFacingRight
JumpFacingDown
JumpFacingLeft
Jumps one/two
JumpUpOne/Two
JumpRightOne/Two
JumpDownOne/Two
JumpLeftOne/Two
PauseWalkUpFast/Normal/Slow
PauseWalkRightFast/Normal/Slow
PauseWalkDownFast/Normal/Slow
PauseWalkLeftFast/Normal/Slow


TEXT
\n break, \r new text
__________________

Current Fakemon Creation
Reply With Quote