Script Help Thread (DO NOT REQUEST SCRIPTS)
View Single Post
April 4th, 2013 (6:16 PM).
Originally Posted by
There are quite a few problems with how you've set this out. If you want a script to activate the instant you enter a map then you will have to make it a level script, rather than a green-S tile script which you walk over -
Here's a good tutorial
to show you how to make one. For future note, when using green-S tile scripts you need to fill in 'Unknown', 'Var number' and occassionally 'Var Value' boxes otherwise you will experience freezes like you have now -
diegoisawesome's XSE tutorial
can help explain what to do here (Found under the applymovement section).
Here's your script with some changes in
and an explanation as to why they were changed:
// This is generally considered the best offset to start looking for free space in a FR ROM
applymovement 0x05 @move
msgbox @1 0x6
applymovement 0x04 @move5
msgbox @14 0x6
applymovement 0x05 @move2
msgbox @12 0x6
applymovement 0x04 @move3
msgbox @13 0x6
applymovement 0x04 @move4
trainerbattle 0x1 0x003 0x0 @before @after @later
=Hey! You!\lWhat are you lokin' at?
= Le'me battle 'im Y!\lPlease!\p*sigh*\lFine, go ahead.
= X!\nWhat are you doing?
= I ain't doin' nothin'.\pHmmm...
// You need to end your movement commands with 0xFE, otherwise the game will glitch
= Haha! Bring it on, kid.
= Y! Help!
applymovement 0x04 @move7
msgbox @2 0x6
applymovement 0x05 @move8
trainerbattle 0x1 0x002 0x0 @before1 @after1 @later1
= Hmph.\n You beat X.\lNo hard feat I suppose.\lBut, for that, I will beat\lyou!
= Now I'll show you!
= I went easy on you.
applymovement 0x05 @move9
msgbox @3 0x6
applymovement 0x05 @move10
msgbox @4 0x6
setvar 0xYYYY 0XZZZZ
// Variable changing command to prevent the level script from looping
= Let's get going, X...
= See ya around, kid.
You may also have to put some 'waitmovement 0x0' commands here and there but then again you might not, idk
Hopefully this helped.
Okay, thank you very much! I will try this out and see if it works! :D Thanks again!
; Moltres, Lugia, Raikou
Joined Jul 2012
TCA | JayB, BeeJays Toast
View Public Profile
Send a private message to Jbsundown
Find all posts by Jbsundown
Find threads started by Jbsundown
Ignore Posts by Jbsundown