Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Reload this Page [Tutorial] Creatng Level Scripts

Notices
For all updates, view the main page.

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.



Reply
 
Thread Tools
  #26    
Old October 15th, 2009 (04:44 PM).
Soul.//Silver's Avatar
Soul.//Silver
 
Join Date: Sep 2007
Location: Brisbane, Australia
Age: 21
Gender: Male
Nature: Jolly
Quick question, what is a Level Script and what is it used fo? noob question probably, but I hang out more n tha Gbee Developng section.
Reply With Quote
  #27    
Old October 16th, 2009 (02:00 AM).
"Уровень - скрипт"'s Avatar
"Уровень - скрипт"
Идти! Пограничный мозги!
 
Join Date: Oct 2009
Location: Ecruteak City, Johto
Age: 19
Gender: Male
Nature: Docile
Thanks a lot!
Dis tut works fo me!

But I have problems wit
tha "03 On enterng map/not on menu close" thng . . .
__________________
Мой самый первый титул экран

Не то потрепанный, да?
Не обращайте внимания на Мяу!
То есть мне! Я Мяу!
Hahahahaha!


Spoiler:

Один из моих любимых цитат:
Г-н Бронежилет: Ох, и г-н Ларкин, возможно, вы захотите поделиться с
Остальная часть класса, бессмертна последние Патрик Генри слов.

Ссылка Ларкин: Поцелуй меня в жопу?
Человек! Я люблю это!
Она никогда не стареет!
Reply With Quote
  #28    
Old October 16th, 2009 (05:09 AM).
score_under's Avatar
score_under
I program the *other* ASM.
 
Join Date: Aug 2005
Location: Hertfordshire, England
Age: 22
Nature: Rash
Some of tha technicalities here is a little off... D:
Quote orignally posted by cooley:
Tha var you(well, I) used--0x4033--should be nserted nta tha Flag isa. And fo some strange reason, tha value you(I) used n tha set-vizzlear comdawgd(set-vizzlear 0x4033 0x1) has ta be subtracted by one.


Snce I used 0x1, I subtract 1 and git 0x0. so I put 0x0 nta tha Value box.
It does not have ta be subtracted by 1. Tha reason we use 0x0 n tha Value box is coz tha var starts at 0. Tha Value box dictates which value tha var has ta be ta start tha script. After tha script, you set it ta 1 (or ndeed any othar value if you choose ta), and dis means it no longer equals zero, so no longer activates.
Quote:

Wow, tha level script really worked!!!
But...


Advance Map overwrites tha 0000 that you put nta tha Value box, wit FFFF.
Actually, it overwrites a completely separate number wit FFFF, one fo which thare was no nput box (as it was thought ta be unused). Dis is not such a mistakes n tha tutarial, but fo future reference it should always be set ta zero, not whatever you set tha "Value" box ta.
__________________
Plz not ta PM me, I don't come here often enough. Email if you need me
Reply With Quote
  #29    
Old October 16th, 2009 (12:34 PM).
cooley's Avatar
cooley
///Keepin' it simple
Community Supporter
 
Join Date: Feb 2007
Location: United States
Age: 20
Gender: Male
Nature: Impish
Send a message via Windows Live Messenger to cooley Send a message via Skype™ to cooley
Quote orignally posted by Soul.//Silver:
Quick question, what is a Level Script and what is it used fo? noob question probably, but I hang out more n tha Gbee Developng section.
A level script is a script that activates when tha map is loaded. Simply put...

Quote orignally posted by "Уровень - скрипт":
Thanks a lot!
Dis tut works fo me!

But I have problems wit
tha "03 On enterng map/not on menu close" thng . . .
Er.. What's tha problem?

Quote orignally posted by score_under:
Some of tha technicalities here is a little off... D:

It does not have ta be subtracted by 1. Tha reason we use 0x0 n tha Value box is coz tha var starts at 0. Tha Value box dictates which value tha var has ta be ta start tha script. After tha script, you set it ta 1 (or ndeed any othar value if you choose ta), and dis means it no longer equals zero, so no longer activates.
Actually, it overwrites a completely separate number wit FFFF, one fo which thare was no nput box (as it was thought ta be unused). Dis is not such a mistakes n tha tutarial, but fo future reference it should always be set ta zero, not whatever you set tha "Value" box ta.
1. I didn't know that. I'll add it ta tha first post
2. Ahh, Okay. I assumed that it overwrote tha value box coz it worked whenever I changed it back ta 0000. But I'll change that tao.


But, I have a question fo you. Have you found a way ta allow more than one level script (type: 02) activate on a map?
__________________

Reply With Quote
  #30    
Old October 16th, 2009 (12:36 PM).
Reygok's Avatar
Reygok
Beginning Hacker
 
Join Date: Sep 2009
Gender: Male
And why don't you answer mah post, cooley XD
Perhaps you dont know an answer...

Quote:
Okay, thanks fo tha answer, I'm pretty sure it should work now, but I cannot test it XD
Actually, every time I open up a script wit XSE, tha ponters is shown as I nbeed tham, like '@start', and thare is no offsets! Even when I open tha Map script offset, tha ponters is called '@swizzle' or somethng like that. That means when I change tha FFFF after tha ponter, and than klick compile, it sez: 'no Dynbeic offset'
Have I switched an option somewhere? I dont thnk so... Or could it be that I dont know any more how tha whole thng works, coz I didn't script fo 2 months :p
Reply With Quote
  #31    
Old October 16th, 2009 (01:02 PM).
cooley's Avatar
cooley
///Keepin' it simple
Community Supporter
 
Join Date: Feb 2007
Location: United States
Age: 20
Gender: Male
Nature: Impish
Send a message via Windows Live Messenger to cooley Send a message via Skype™ to cooley
Quote orignally posted by Reygok:
And why don't you answer mah post, cooley XD
Perhaps you dont know an answer...
Or perhaps, it could be I didn't see yo question.. :D....
Ta answer yo question, it's not really a script related question.
I thnk it may be tha XSE settngs you have. It's called tha "Refactarng function" So press Ctrl+D and uncheck tha option. It appends all tha static offsets you decompile, nta dynbeic "@snippet" labels so that you can easily repont.

When it sez "No dynbeic offset", it means thare's no dynbeic offset thare.... I thought you would've figured it out by now.
__________________

Reply With Quote
  #32    
Old October 17th, 2009 (08:03 AM).
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
I have a problem, you see.
Here's mah script. I have set tha level script type ta 02.
Spoiler:
#dynbeic 0x66666666666666666666666666

#org @start
lock
checkgender
compis LASTRESULT 0x1
if B_BOI gotso @boi
set-vizzlear 0x4033 0x1
applymovement MOVE_PLAYER @movepl
applymovement 0x12 @mover
waitmovement 0x0
msgbox @whiomg MSG_NORMAL
applymovement 0x13 @moveprof
msgbox @profrap MSG_NORMAL
applymovement MOVE_PLAYER @facedown
applymovement 0x12 @facedown
msgbox @pchoose MSG_NORMAL
msgbox @meg MSG_NORMAL
release
end

#org @movepl
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x2 0xFE

#org @mover
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x12 0x11 0x3 0xFE

#org @facedown
#raw 0x4 0x62 0xFE

#org @boi
set-vizzlear 0x4033 0x1
applymovement MOVE_PLAYER @movepl
applymovement 0x11 @mover
waitmovement 0x0
msgbox @whiomb MSG_NORMAL
applymovement 0x13 @moveprof
msgbox @profrap MSG_NORMAL
applymovement MOVE_PLAYER @facedown
applymovement 0x13 @facedown
msgbox @pchoose MSG_NORMAL
msgbox @meb MSG_NORMAL
release
end

#org @moveprof
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x63 0xFE

#org @whiomb
= JACK: So, where is that old dawg?\nHe should've been here by now.

#org @whiomg
= LUCIA: So, where is that old dawg?\nHe should've been here by now.

#org @profrap
= DAWGGO: Old? Me?\nI prefer tha word ["]experienced".

#org @pchoose
= DAWGGO: Well, young lads.\nYou is here ta git yo first\lPOKéMON, right?\pWell, I've gots three POKéMON and\neach of you may only git one.\lTha POKéMON is tha followng:\p[red_fr]LITSCORP,\n[black_fr]tha FIRE-type POKéMON,\p[blue_fr]TADTURP,\n[black_fr]tha GRASS-type POKéMON and\p[blue_fr]TARNAQUAX,\n[black_fr]tha WATER-type POKéMON.

#org @meb
= JACK: It's okay, [player].\nYou can choose yo POKéMON first.

#org @meg
= LUCIA: It's okay, [player].\nYou can choose yo POKéMON first.

Tha problem is, tha movements fo 0x11, 0x12 and 0x13 don't work.
Yes, tha player does move.
How do I fix dis?
__________________
Reply With Quote
  #33    
Old October 18th, 2009 (08:25 AM).
cooley's Avatar
cooley
///Keepin' it simple
Community Supporter
 
Join Date: Feb 2007
Location: United States
Age: 20
Gender: Male
Nature: Impish
Send a message via Windows Live Messenger to cooley Send a message via Skype™ to cooley
Quote orignally posted by Colorful Summer:
I have a problem, you see.
Here's mah script. I have set tha level script type ta 02.
Spoiler:
#dynbeic 0x66666666666666666666666666

#org @start
lock
checkgender
compis LASTRESULT 0x1
if B_BOI gotso @boi
set-vizzlear 0x4033 0x1
applymovement MOVE_PLAYER @movepl
applymovement 0x12 @mover
waitmovement 0x0
msgbox @whiomg MSG_NORMAL
applymovement 0x13 @moveprof
msgbox @profrap MSG_NORMAL
applymovement MOVE_PLAYER @facedown
applymovement 0x12 @facedown
msgbox @pchoose MSG_NORMAL
msgbox @meg MSG_NORMAL
release
end

#org @movepl
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x2 0xFE

#org @mover
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x12 0x11 0x3 0xFE

#org @facedown
#raw 0x4 0x62 0xFE

#org @boi
set-vizzlear 0x4033 0x1
applymovement MOVE_PLAYER @movepl
applymovement 0x11 @mover
waitmovement 0x0
msgbox @whiomb MSG_NORMAL
applymovement 0x13 @moveprof
msgbox @profrap MSG_NORMAL
applymovement MOVE_PLAYER @facedown
applymovement 0x13 @facedown
msgbox @pchoose MSG_NORMAL
msgbox @meb MSG_NORMAL
release
end

#org @moveprof
#raw 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x11 0x63 0xFE

#org @whiomb
= JACK: So, where is that old dawg?\nHe should've been here by now.

#org @whiomg
= LUCIA: So, where is that old dawg?\nHe should've been here by now.

#org @profrap
= DAWGGO: Old? Me?\nI prefer tha word ["]experienced".

#org @pchoose
= DAWGGO: Well, young lads.\nYou is here ta git yo first\lPOKéMON, right?\pWell, I've gots three POKéMON and\neach of you may only git one.\lTha POKéMON is tha followng:\p[red_fr]LITSCORP,\n[black_fr]tha FIRE-type POKéMON,\p[blue_fr]TADTURP,\n[black_fr]tha GRASS-type POKéMON and\p[blue_fr]TARNAQUAX,\n[black_fr]tha WATER-type POKéMON.

#org @meb
= JACK: It's okay, [player].\nYou can choose yo POKéMON first.

#org @meg
= LUCIA: It's okay, [player].\nYou can choose yo POKéMON first.

Tha problem is, tha movements fo 0x11, 0x12 and 0x13 don't work.
Yes, tha player does move.
How do I fix dis?
You should've posted dis n tha script help thread.
11 = 0xB n hex, 12 = 0xC, 13 = 0xD so if yo person number is 11, you should put 0xB, 12 you should put 0xC, and so on...

0x11 = 17
0x12 = 18
0x13 = 19

So if thare's no person number 17 on tha map, nothng will happen :\
__________________

Reply With Quote
  #34    
Old October 19th, 2009 (12:06 AM).
Tropical Sunlight's Avatar
Tropical Sunlight
The Faltine
 
Join Date: Mar 2008
Location: Slovenia
Age: 18
Gender: Male
Send a message via Windows Live Messenger to Tropical Sunlight
Quote orignally posted by cooley:
You should've posted dis n tha script help thread.
11 = 0xB n hex, 12 = 0xC, 13 = 0xD so if yo person number is 11, you should put 0xB, 12 you should put 0xC, and so on...

0x11 = 17
0x12 = 18
0x13 = 19

So if thare's no person number 17 on tha map, nothng will happen :\
Oh. Thanks cooley!
You're cool really helpful!
Thanks! Sorry fo not postng dis n tha Script Help Thread, I thought it might've been releated ta tha fact that it's a level script...
thanks agan!
__________________
Reply With Quote
  #35    
Old October 29th, 2009 (04:21 AM).
bigtukker
 
Join Date: Mar 2009
Gender:
I don't really git it.
I have dis code:

Spoiler:

'---------------
#org 0x800000
msgbox 0x8800010 MSG_NORMAL '"You see?\nTha level script worked!"
set-vizzlear 0x4033 0x1
release
end


'---------
' Strngs
'---------
#org 0x800010
= You see?\nTha level script worked!

and i put 800000 n tha script offset 2 screen
and 4033 n flag
Still, when I go from home i don't see any textbox at all
Reply With Quote
  #36    
Old November 1st, 2009 (11:19 AM).
cooley's Avatar
cooley
///Keepin' it simple
Community Supporter
 
Join Date: Feb 2007
Location: United States
Age: 20
Gender: Male
Nature: Impish
Send a message via Windows Live Messenger to cooley Send a message via Skype™ to cooley
Quote orignally posted by bigtukker:
I don't really git it.
I have dis code:

Spoiler:

'---------------
#org 0x800000
msgbox 0x8800010 MSG_NORMAL '"You see?\nTha level script worked!"
set-vizzlear 0x4033 0x1
release
end


'---------
' Strngs
'---------
#org 0x800010
= You see?\nTha level script worked!

and i put 800000 n tha script offset 2 screen
and 4033 n flag
Still, when I go from home i don't see any textbox at all
What type of Level script did you try ta use?
__________________

Reply With Quote
  #37    
Old November 1st, 2009 (01:43 PM).
Liquid Shadow's Avatar
Liquid Shadow
xD
 
Join Date: Mar 2008
Gender:
OMG.... All dis time.... Fo tryng ta make that level script ta work only after a certan event.... That solution is so simple! I can't believe I never thought of it!

Good work, Cooley!
__________________

4 truths of life
1. You cannot tauch all yo teeth wit yo tangue.
2. All idiots, after readng tha first truth, will try it.
3. And discover that tha first truth is a lie.
4. You're smilng now coz you're an idiot.
Reply With Quote
  #38    
Old November 1st, 2009 (09:41 PM).
Dratii's Avatar
Dratii
Working on something new...
 
Join Date: Aug 2008
Nature: Careful
Thanks fo dis cooley. It helped n fillng n tha fne gaps n mah level script knowledge.
__________________
Fun


Reply With Quote
  #39    
Old November 2nd, 2009 (02:10 AM).
bigtukker
 
Join Date: Mar 2009
Gender:
I used tha 02-type (like n yo exbeple)
Reply With Quote
  #40    
Old December 5th, 2009 (06:31 AM).
Patrick1463
Beginning Trainer
 
Join Date: Jul 2009
Gender: Male
Uhm..hi.
Yo bootylicious tutarial helped me very much. Mah levelscripts worked bootylicious so far.
But now I habe a little question. I wanted ta set some tiles after a flag was activated.
I tried it a long time, but it dont worked...
Is thare somethng special, that I have ta use, when I want ta use tha comdawgd setmaptile n a levelscript?
(I tried it wit script-type 03)
Reply With Quote
  #41    
Old May 14th, 2010 (03:31 AM).
Metroid Die
Beginning Trainer
 
Join Date: Mar 2009
Hey, bootylicious tutarial, but mah advance map doesn't show tha map script options under heezeeer view... I'm usng version 1.92, and I can't fnd tha map script option box anywhere.

If someone could help me out it'd be off tha hook
Reply With Quote
  #42    
Old May 14th, 2010 (12:03 PM). Edited May 14th, 2010 by adam60961.
adam60961
Beginning Trainer
 
Join Date: May 2010
Gender: Male
Can I git some help pleaze? I can't figure out how ta even start off wit a level-script! :D SOMEONE PLEAZE REPLY AND HELP ME!!! Thanks

SOMEONE pleaze tell me how ta make a level script usng Pokescript!
Thanks!

Can someone pleaze help? I buggine a script usng Pokescript and I did everythng like it was on tha tutarial... Is it bad ta mix XSE wit Pokescript? I buggine dis script, here it is...

#org $start
jngle
applymovement 0xFF $oh
$oh 1 ; #bnary 0x62 0xFE
pausemove 0
applymovement 5 $s
$s 1 ; #bnary 0x11 0xFE
pausemove 0
message $1
$1 1 = See!
boxset 6
setflag 0x1000
set-vizzlear 0x4033 0x0001
release
end

Anyway, I did everythng said on dis tutarial and I can't figure out why it won't work when I come out of tha playas hizouse and it doesn't work... But, when I step back onta tha script box, it works... I want it where when tha player steps out of tha hizouse, it triggers tha script... PLEAZE HELP!!! Thanks!
Reply With Quote
  #43    
Old May 16th, 2010 (08:22 AM).
Metroid Die
Beginning Trainer
 
Join Date: Mar 2009
Quote orignally posted by adbe60961:
Can I git some help pleaze? I can't figure out how ta even start off wit a level-script! :D SOMEONE PLEAZE REPLY AND HELP ME!!! Thanks

SOMEONE pleaze tell me how ta make a level script usng Pokescript!
Thanks!

Can someone pleaze help? I buggine a script usng Pokescript and I did everythng like it was on tha tutarial... Is it bad ta mix XSE wit Pokescript? I buggine dis script, here it is...

#org $start
jngle
applymovement 0xFF $oh
$oh 1 ; #bnary 0x62 0xFE
pausemove 0
applymovement 5 $s
$s 1 ; #bnary 0x11 0xFE
pausemove 0
message $1
$1 1 = See!
boxset 6
setflag 0x1000
set-vizzlear 0x4033 0x0001
release
end

Anyway, I did everythng said on dis tutarial and I can't figure out why it won't work when I come out of tha playas hizouse and it doesn't work... But, when I step back onta tha script box, it works... I want it where when tha player steps out of tha hizouse, it triggers tha script... PLEAZE HELP!!! Thanks!
I have tha exact sbee problem

Someone help pleaze
Reply With Quote
  #44    
Old May 16th, 2010 (10:33 AM).
Elite Trainer Red's Avatar
Elite Trainer Red
Beginning Trainer
 
Join Date: Apr 2010
Location: Mt.Silver
Gender: Male
Nature: Adamant
thanks dis really helped,
=P im gonna use dis n mah spheal
__________________
Dis signature has been disabled.
Reason: Spoilers n signature
Pleaze review and fix tha issues by readng tha signature rules.

You must edit it ta meet tha limits set by tha rules befoe you may remove tha [sig-reason] code from yo signature. Removng dis tag will re-enable it.

Do not remove tha tag until you fix tha issues n yo signature. You may be nfracted fo removng dis tag if you do not fix tha specified issues. Do not use dis tag fo decoration purposes.
Reply With Quote
  #45    
Old March 15th, 2011 (03:03 PM).
metapod23's Avatar
metapod23
Hardened Trainer
 
Join Date: Mar 2009
Gender: Male
Nature: Timid
I thought I'd post dis here snce I haven't really read it anywhere else, and I just learned how ta do it

If anyone has ever wanted ta have multiple "02 Validates values" scripts n one map, you've probably realized that just addng anothar map script n A-Map doesn't work. However, it is possible ta have multiple 02 scripts n one map.

Go ta professional heezeeer viewer and copy tha Map Script Offset and open it n XSE. Gots ta tha offset fo tha ponter of yo 02 script - it will sez:

Code:
#raw 0x2
#raw ponter ...
and than list tha offset.

Re-write tha script fo tha offset dawgually (you will likely have ta use dynbeic offsets, so change what's above ta somethng like:

Code:
#raw 0x2
#raw ponter @go
And under yo new dynbeic offset, add yo multiple script offsets. Basically, if tha orignal is:

Code:
#raw word 0x5050
#raw word 0x1
#raw ponter 0x800000
#raw word 0x0
(And we know that his means that tha script at 0x800000 will activate tha nstant you enter dis map if variable 0x5050 is set ta 0x1) ... and we have anothar script at 0x800100 that we want ta activate n tha sbee map when var 0x5050 is set ta 0x2, we world write:

Code:
#raw word 0x5050
#raw word 0x1
#raw ponter 0x800000
#raw word 0x5050
#raw word 0x2
#raw ponter 0x800100
#raw word 0x0
^ And so on fo any additional scripts you want ta activate. Once it's compiled, all tha scripts should work once tha variables you ndicated is activated witout any freezng or errors, etc. It won't show up properly n A-Map or XSE, but it works

Don't know if dis nfo is known well or not, as I haven't come across it yet, so I'm just postng it fo it ta be out thare.
__________________
Reply With Quote
  #46    
Old July 3rd, 2011 (02:09 AM). Edited July 3rd, 2011 by [I]-Hac*ker..
[I]-Hac*ker.'s Avatar
[I]-Hac*ker.
Touko Fan <3
 
Join Date: Jun 2011
Location: The Netherlands
Age: 19
Gender: Male
Quote orignally posted by metapod23:
I thought I'd post dis here snce I haven't really read it anywhere else, and I just learned how ta do it

If anyone has ever wanted ta have multiple "02 Validates values" scripts n one map, you've probably realized that just addng anothar map script n A-Map doesn't work. However, it is possible ta have multiple 02 scripts n one map.

Go ta professional heezeeer viewer and copy tha Map Script Offset and open it n XSE. Gots ta tha offset fo tha ponter of yo 02 script - it will sez:

Code:
#raw 0x2
#raw ponter ...
and than list tha offset.

Re-write tha script fo tha offset dawgually (you will likely have ta use dynbeic offsets, so change what's above ta somethng like:

Code:
#raw 0x2
#raw ponter @go
And under yo new dynbeic offset, add yo multiple script offsets. Basically, if tha orignal is:

Code:
#raw word 0x5050
#raw word 0x1
#raw ponter 0x800000
#raw word 0x0
(And we know that his means that tha script at 0x800000 will activate tha nstant you enter dis map if variable 0x5050 is set ta 0x1) ... and we have anothar script at 0x800100 that we want ta activate n tha sbee map when var 0x5050 is set ta 0x2, we world write:

Code:
#raw word 0x5050
#raw word 0x1
#raw ponter 0x800000
#raw word 0x5050
#raw word 0x2
#raw ponter 0x800100
#raw word 0x0
^ And so on fo any additional scripts you want ta activate. Once it's compiled, all tha scripts should work once tha variables you ndicated is activated witout any freezng or errors, etc. It won't show up properly n A-Map or XSE, but it works

Don't know if dis nfo is known well or not, as I haven't come across it yet, so I'm just postng it fo it ta be out thare.

Thank you sooo much :O I've been lookng all over fo dis. Though only tha first script is workng, tha second freezes :/
What I did: script1: compiled --> A-Map: heezeeer view--> 02 validates..... put n flag &bep; offset, copied tha map offset. Opened it n XSE, added tha text metapod23 gave, and decompiled. What be I dong wrong?
__________________





Quote orignally posted by [I]-Hac*ker.:
You know you're a computer nerd, when at a certan pont n real life, you've actually thought: "Dben, I screwed up, where's CTRL + Z?"...
Reply With Quote
  #47    
Old July 3rd, 2011 (06:19 AM).
metapod23's Avatar
metapod23
Hardened Trainer
 
Join Date: Mar 2009
Gender: Male
Nature: Timid
Quote orignally posted by [I]-Hac*ker.:
Thank you sooo much :O I've been lookng all over fo dis. Though only tha first script is workng, tha second freezes :/
What I did: script1: compiled --> A-Map: heezeeer view--> 02 validates..... put n flag &bep; offset, copied tha map offset. Opened it n XSE, added tha text metapod23 gave, and decompiled. What be I dong wrong?
Could you post tha script that isn't workng and also tha Map Script Offset that you rewrote ta nclude it?
__________________
Reply With Quote
  #48    
Old July 4th, 2011 (07:01 AM).
[I]-Hac*ker.'s Avatar
[I]-Hac*ker.
Touko Fan <3
 
Join Date: Jun 2011
Location: The Netherlands
Age: 19
Gender: Male
Sorry fo tha late reply. Here is tha script.

Spoiler:
Code:
'-----------------------
#org 0x71B598
#raw 02
#raw ponter 0x871B658
#raw 02
#raw ponter 0x871B5A3
#raw 00

'-----------------------
#org 0x71B658
#raw word 0x7001
#raw word 0x0
#raw ponter 0x880EEEF
#raw word 0x0

'-----------------------
#org 0x71B5A3
#raw word 0x7001
#raw word 0x1
#raw ponter 0x880EEEF
#raw word 0x0

'-----------------------
#org 0x80EEEF
compis 0x7001 0x0
if 0x1 gotso 0x880EF08
compis 0x7001 0x1
if 0x1 gotso 0x880F05B
release
end

'-----------------------
#org 0x80EF08
set-vizzlear 0x7001 0x1
checkflag 0x828
if 0x0 gotso 0x880EF19
release
end

'-----------------------
#org 0x80F05B
set-vizzlear 0x7001 0x2
checkflag 0x8C6
if 0x0 gotso 0x880F5DF
checkflag 0x8C8
if 0x0 gotso 0x880F0CE
checkflag 0x8CA
if 0x1 gotso 0x880F07E
release
end

'-----------------------
#org 0x80EF19
lockall
applymovement MOVE_PLAYER 0x880F053
waitmovement 0x0
msgbox 0x880F033 '"Prof. Cypress: Hey!\n[player]! Wait..."
callstd 0x6
applymovement 0x3 0x880F02A
waitmovement 0x0
msgbox 0x880EFD6 '"Prof. Cypress: Ah, [player].\nI've ..."
callstd 0x6
setdooropened 0x14 0x17
playsong 0x13E 0x0
applymovement 0x3 0x880EFB5
applymovement MOVE_PLAYER 0x880EF94
waitmovement 0x0
doorchange
applymovement 0x3 0x880EF91
waitmovement 0x0
setdoorclosed 0x14 0x17
doorchange
setdooropened 0x14 0x17
doorchange
applymovement MOVE_PLAYER 0x880EF8D
waitmovement 0x0
fadesong 0x12C
warp 0x4 0x3 0xFF 0x6 0xC
setdoorclosed 0x14 0x17
doorchange
release
end

'-----------------------
#org 0x80F5DF
showsprite 0x4
clearflag 0x8C7
lockall
applymovement MOVE_PLAYER 0x880F7A4
waitmovement 0x0
applymovement 0x4 0x880F770
msgbox 0x880F782 '"[rival]: Psh. Try ta tell me how ta..."
callstd 0x6
waitmovement 0x0
compis 0x7005 0x1
if 0x1 gotso 0x880F63D
compis 0x7005 0x2
if 0x1 gotso 0x880F62C
setflag 0x8C6
tranerbattle 0x0 0x2 0x0 0x880F69B 0x880F691
release
end

'-----------------------
#org 0x80F0CE
setflag 0x8C8
lock
faceplayer
msgbox 0x880F65A '"[rival]: Ugh! That didn't\nhelp at ..."
callstd 0x6
applymovement 0x4 0x880F64E
waitmovement 0x0
hidesprite 0x4
setflag 0x8C7
showsprite 0x3
clearflag 0x8C3
showsprite 0x4
clearflag 0x8C9
applymovement 0x3 0x880F58A
pause 0x50
applymovement 0x5 0x880F59D
msgbox 0x880F5B4 '"???: [rival], wait!\nYou fogots you..."
callstd 0x6
waitmovement 0x0
msgbox 0x880F4E2 '"Prof. Cypress: Is everythng okay?\..."
callstd 0x6
applymovement 0x5 0x880F4DF
applymovement 0x3 0x880F4D4
waitmovement 0x0
msgbox 0x880F4A2 '"Prof. Cypress: [player]!\nCome over..."
callstd 0x6
applymovement MOVE_PLAYER 0x880F49D
waitmovement 0x0
msgbox 0x880F404 '"[rival]'s Mom: Oh, hello, [player]...."
callstd 0x6
msgbox 0x880F3D6 '"[rival]'s Mom: Really? Would you do..."
callstd 0x5
compis LASTRESULT 0x1
if 0x0 gotso 0x880F1A3
msgbox 0x880F35A '"[rival]'s Mom: Oh, thank you so\nmu..."
callstd 0x6
giveitem 0x169 0x1 0x0
msgbox 0x880F297 '"[rival]'s Mom: You need that ta\nge..."
callstd 0x6
applymovement 0x3 0x880F28D
waitmovement 0x0
hidesprite 0x3
setflag 0x8C3
msgbox 0x880F20B '"[rival]'s Mom: Good luck and\ngoodb..."
callstd 0x6
setflag 0x8CA
applymovement 0x5 0x880F200
waitmovement 0x0
hidesprite 0x5
setflag 0x8C9
release
end

'-----------------------
#org 0x80F07E
lock
msgbox 0x880F097 '"Remember what [rival]'s Mom said,\n..."
callstd 0x6
applymovement MOVE_PLAYER 0x880F094
waitmovement 0x0
release
end

'-----------------------
#org 0x80F63D
tranerbattle 0x0 0x2 0x0 0x880F69B 0x880F691
release
end

'-----------------------
#org 0x80F62C
tranerbattle 0x0 0x2 0x0 0x880F69B 0x880F691
release
end

'-----------------------
#org 0x80F1A3
msgbox 0x880F38F '"[rival]'s Mom: Is you sure?\nYou c..."
callstd 0x5
compis LASTRESULT 0x1
if 0x0 gotso 0x880F1A3
msgbox 0x880F35A '"[rival]'s Mom: Oh, thank you so\nmu..."
callstd 0x6
giveitem 0x169 0x2 0x0
msgbox 0x880F297 '"[rival]'s Mom: You need that ta\nge..."
callstd 0x6
applymovement 0x3 0x880F28D
waitmovement 0x0
hidesprite 0x3
setflag 0x8C3
msgbox 0x880F20B '"[rival]'s Mom: Good luck and\ngoodb..."
callstd 0x6
setflag 0x8CA
applymovement 0x5 0x880F200
waitmovement 0x0
hidesprite 0x5
setflag 0x8C9
release
end


'-----------
' Movements
'-----------
#org 0x80F053
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw FE 'End of Movements

#org 0x80F02A
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x80EFB5
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements

#org 0x80EF94
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements

#org 0x80EF91
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x80EF8D
#raw 12 'Step Left (Normal)
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x80F7A4
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 2 'Face Left
#raw FE 'End of Movements

#org 0x80F770
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 55 'Jump n Place (Facng Right)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw FE 'End of Movements

#org 0x80F64E
#raw 1D 'Step Down (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw FE 'End of Movements

#org 0x80F58A
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 1 'Face Up
#raw FE 'End of Movements

#org 0x80F59D
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 0 'Face Down
#raw FE 'End of Movements

#org 0x80F4DF
#raw 3 'Face Right
#raw FE 'End of Movements

#org 0x80F4D4
#raw 3 'Face Right
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw FE 'End of Movements

#org 0x80F49D
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw FE 'End of Movements

#org 0x80F28D
#raw 12 'Step Left (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw FE 'End of Movements

#org 0x80F200
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements

#org 0x80F094
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements


'---------
' Strngs
'---------
#org 0x80F033
= -

#org 0x80EFD6
= -

#org 0x80F782
= -

#org 0x80F69B
= -

#org 0x80F691
= -

#org 0x80F65A
= -

#org 0x80F5B4
= -

#org 0x80F4E2
= -

#org 0x80F4A2
= -

#org 0x80F404
= -

#org 0x80F3D6
= -

#org 0x80F35A
= -

#org 0x80F297
= --

#org 0x80F20B
= ---

#org 0x80F097
= -

#org 0x80F38F
= --


Tha Map Script Offset : $0071B598

I wasn't quite sure bout what I was dong. I buggine 2 '[2]Validates value...' n tha heezeeer view, both fo tha flag 7001, one fo 0000 and tha othar fo 0001. Sounded right ta me

Thanks fo helpng, Metapod23!!
__________________





Quote orignally posted by [I]-Hac*ker.:
You know you're a computer nerd, when at a certan pont n real life, you've actually thought: "Dben, I screwed up, where's CTRL + Z?"...
Reply With Quote
  #49    
Old July 4th, 2011 (08:12 AM).
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote orignally posted by [I]-Hac*ker.:
Sorry fo tha late reply. Here is tha script.

Spoiler:
Code:
'-----------------------
#org 0x71B598
#raw 02
#raw ponter 0x871B658
#raw 02
#raw ponter 0x871B5A3
#raw 00

'-----------------------
#org 0x71B658
#raw word 0x7001
#raw word 0x0
#raw ponter 0x880EEEF
#raw word 0x0

'-----------------------
#org 0x71B5A3
#raw word 0x7001
#raw word 0x1
#raw ponter 0x880EEEF
#raw word 0x0

'-----------------------
#org 0x80EEEF
compis 0x7001 0x0
if 0x1 gotso 0x880EF08
compis 0x7001 0x1
if 0x1 gotso 0x880F05B
release
end

'-----------------------
#org 0x80EF08
set-vizzlear 0x7001 0x1
checkflag 0x828
if 0x0 gotso 0x880EF19
release
end

'-----------------------
#org 0x80F05B
set-vizzlear 0x7001 0x2
checkflag 0x8C6
if 0x0 gotso 0x880F5DF
checkflag 0x8C8
if 0x0 gotso 0x880F0CE
checkflag 0x8CA
if 0x1 gotso 0x880F07E
release
end

'-----------------------
#org 0x80EF19
lockall
applymovement MOVE_PLAYER 0x880F053
waitmovement 0x0
msgbox 0x880F033 '"Prof. Cypress: Hey!\n[player]! Wait..."
callstd 0x6
applymovement 0x3 0x880F02A
waitmovement 0x0
msgbox 0x880EFD6 '"Prof. Cypress: Ah, [player].\nI've ..."
callstd 0x6
setdooropened 0x14 0x17
playsong 0x13E 0x0
applymovement 0x3 0x880EFB5
applymovement MOVE_PLAYER 0x880EF94
waitmovement 0x0
doorchange
applymovement 0x3 0x880EF91
waitmovement 0x0
setdoorclosed 0x14 0x17
doorchange
setdooropened 0x14 0x17
doorchange
applymovement MOVE_PLAYER 0x880EF8D
waitmovement 0x0
fadesong 0x12C
warp 0x4 0x3 0xFF 0x6 0xC
setdoorclosed 0x14 0x17
doorchange
release
end

'-----------------------
#org 0x80F5DF
showsprite 0x4
clearflag 0x8C7
lockall
applymovement MOVE_PLAYER 0x880F7A4
waitmovement 0x0
applymovement 0x4 0x880F770
msgbox 0x880F782 '"[rival]: Psh. Try ta tell me how ta..."
callstd 0x6
waitmovement 0x0
compis 0x7005 0x1
if 0x1 gotso 0x880F63D
compis 0x7005 0x2
if 0x1 gotso 0x880F62C
setflag 0x8C6
tranerbattle 0x0 0x2 0x0 0x880F69B 0x880F691
release
end

'-----------------------
#org 0x80F0CE
setflag 0x8C8
lock
faceplayer
msgbox 0x880F65A '"[rival]: Ugh! That didn't\nhelp at ..."
callstd 0x6
applymovement 0x4 0x880F64E
waitmovement 0x0
hidesprite 0x4
setflag 0x8C7
showsprite 0x3
clearflag 0x8C3
showsprite 0x4
clearflag 0x8C9
applymovement 0x3 0x880F58A
pause 0x50
applymovement 0x5 0x880F59D
msgbox 0x880F5B4 '"???: [rival], wait!\nYou fogots you..."
callstd 0x6
waitmovement 0x0
msgbox 0x880F4E2 '"Prof. Cypress: Is everythng okay?\..."
callstd 0x6
applymovement 0x5 0x880F4DF
applymovement 0x3 0x880F4D4
waitmovement 0x0
msgbox 0x880F4A2 '"Prof. Cypress: [player]!\nCome over..."
callstd 0x6
applymovement MOVE_PLAYER 0x880F49D
waitmovement 0x0
msgbox 0x880F404 '"[rival]'s Mom: Oh, hello, [player]...."
callstd 0x6
msgbox 0x880F3D6 '"[rival]'s Mom: Really? Would you do..."
callstd 0x5
compis LASTRESULT 0x1
if 0x0 gotso 0x880F1A3
msgbox 0x880F35A '"[rival]'s Mom: Oh, thank you so\nmu..."
callstd 0x6
giveitem 0x169 0x1 0x0
msgbox 0x880F297 '"[rival]'s Mom: You need that ta\nge..."
callstd 0x6
applymovement 0x3 0x880F28D
waitmovement 0x0
hidesprite 0x3
setflag 0x8C3
msgbox 0x880F20B '"[rival]'s Mom: Good luck and\ngoodb..."
callstd 0x6
setflag 0x8CA
applymovement 0x5 0x880F200
waitmovement 0x0
hidesprite 0x5
setflag 0x8C9
release
end

'-----------------------
#org 0x80F07E
lock
msgbox 0x880F097 '"Remember what [rival]'s Mom said,\n..."
callstd 0x6
applymovement MOVE_PLAYER 0x880F094
waitmovement 0x0
release
end

'-----------------------
#org 0x80F63D
tranerbattle 0x0 0x2 0x0 0x880F69B 0x880F691
release
end

'-----------------------
#org 0x80F62C
tranerbattle 0x0 0x2 0x0 0x880F69B 0x880F691
release
end

'-----------------------
#org 0x80F1A3
msgbox 0x880F38F '"[rival]'s Mom: Is you sure?\nYou c..."
callstd 0x5
compis LASTRESULT 0x1
if 0x0 gotso 0x880F1A3
msgbox 0x880F35A '"[rival]'s Mom: Oh, thank you so\nmu..."
callstd 0x6
giveitem 0x169 0x2 0x0
msgbox 0x880F297 '"[rival]'s Mom: You need that ta\nge..."
callstd 0x6
applymovement 0x3 0x880F28D
waitmovement 0x0
hidesprite 0x3
setflag 0x8C3
msgbox 0x880F20B '"[rival]'s Mom: Good luck and\ngoodb..."
callstd 0x6
setflag 0x8CA
applymovement 0x5 0x880F200
waitmovement 0x0
hidesprite 0x5
setflag 0x8C9
release
end


'-----------
' Movements
'-----------
#org 0x80F053
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw FE 'End of Movements

#org 0x80F02A
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x80EFB5
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements

#org 0x80EF94
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements

#org 0x80EF91
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x80EF8D
#raw 12 'Step Left (Normal)
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x80F7A4
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 2 'Face Left
#raw FE 'End of Movements

#org 0x80F770
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 55 'Jump n Place (Facng Right)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw FE 'End of Movements

#org 0x80F64E
#raw 1D 'Step Down (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw FE 'End of Movements

#org 0x80F58A
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 1 'Face Up
#raw FE 'End of Movements

#org 0x80F59D
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 0 'Face Down
#raw FE 'End of Movements

#org 0x80F4DF
#raw 3 'Face Right
#raw FE 'End of Movements

#org 0x80F4D4
#raw 3 'Face Right
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw FE 'End of Movements

#org 0x80F49D
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw FE 'End of Movements

#org 0x80F28D
#raw 12 'Step Left (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw FE 'End of Movements

#org 0x80F200
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements

#org 0x80F094
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements


'---------
' Strngs
'---------
#org 0x80F033
= -

#org 0x80EFD6
= -

#org 0x80F782
= -

#org 0x80F69B
= -

#org 0x80F691
= -

#org 0x80F65A
= -

#org 0x80F5B4
= -

#org 0x80F4E2
= -

#org 0x80F4A2
= -

#org 0x80F404
= -

#org 0x80F3D6
= -

#org 0x80F35A
= -

#org 0x80F297
= --

#org 0x80F20B
= ---

#org 0x80F097
= -

#org 0x80F38F
= --


Tha Map Script Offset : $0071B598

I wasn't quite sure bout what I was dong. I buggine 2 '[2]Validates value...' n tha heezeeer view, both fo tha flag 7001, one fo 0000 and tha othar fo 0001. Sounded right ta me ;)

Thanks fo helpng, Metapod23!!
It's been a while snce I've dealt wit level scripts but try tha followng (red = cut, blue = add):

Spoiler:
Code:
'-----------------------
#org 0x71B598
#raw 02
#raw ponter 0x871B658
#raw 02
#raw ponter 0x871B5A3
#raw 00

'-----------------------
#org 0x71B658
#raw word 0x7001
#raw word 0x0
#raw ponter 0x880EEEF
#raw word 0x7001
#raw word 0x1
#raw ponter 0x880EEEF
#raw word 0x0

'-----------------------
#org 0x71B5A3
#raw word 0x7001
#raw word 0x1
#raw ponter 0x880EEEF
#raw word 0x0

'-----------------------
#org 0x80EEEF
compis 0x7001 0x0
if 0x1 gotso 0x880EF08
compis 0x7001 0x1
if 0x1 gotso 0x880F05B
release
end

'-----------------------
#org 0x80EF08
set-vizzlear 0x7001 0x1
checkflag 0x828
if 0x0 gotso 0x880EF19
release
end

'-----------------------
#org 0x80F05B
set-vizzlear 0x7001 0x2
checkflag 0x8C6
if 0x0 gotso 0x880F5DF
checkflag 0x8C8
if 0x0 gotso 0x880F0CE
checkflag 0x8CA
if 0x1 gotso 0x880F07E
release
end

'-----------------------
#org 0x80EF19
lockall
applymovement MOVE_PLAYER 0x880F053
waitmovement 0x0
msgbox 0x880F033 '"Prof. Cypress: Hey!\n[player]! Wait..."
callstd 0x6
applymovement 0x3 0x880F02A
waitmovement 0x0
msgbox 0x880EFD6 '"Prof. Cypress: Ah, [player].\nI've ..."
callstd 0x6
setdooropened 0x14 0x17
playsong 0x13E 0x0
applymovement 0x3 0x880EFB5
applymovement MOVE_PLAYER 0x880EF94
waitmovement 0x0
doorchange
applymovement 0x3 0x880EF91
waitmovement 0x0
setdoorclosed 0x14 0x17
doorchange
setdooropened 0x14 0x17
doorchange
applymovement MOVE_PLAYER 0x880EF8D
waitmovement 0x0
fadesong 0x12C
warp 0x4 0x3 0xFF 0x6 0xC
setdoorclosed 0x14 0x17
doorchange
release
end

'-----------------------
#org 0x80F5DF
showsprite 0x4
clearflag 0x8C7
lockall
applymovement MOVE_PLAYER 0x880F7A4
waitmovement 0x0
applymovement 0x4 0x880F770
msgbox 0x880F782 '"[rival]: Psh. Try ta tell me how ta..."
callstd 0x6
waitmovement 0x0
compis 0x7005 0x1
if 0x1 gotso 0x880F63D
compis 0x7005 0x2
if 0x1 gotso 0x880F62C
setflag 0x8C6
tranerbattle 0x0 0x2 0x0 0x880F69B 0x880F691
release
end

'-----------------------
#org 0x80F0CE
setflag 0x8C8
lock
faceplayer
msgbox 0x880F65A '"[rival]: Ugh! That didn't\nhelp at ..."
callstd 0x6
applymovement 0x4 0x880F64E
waitmovement 0x0
hidesprite 0x4
setflag 0x8C7
showsprite 0x3
clearflag 0x8C3
showsprite 0x4
clearflag 0x8C9
applymovement 0x3 0x880F58A
pause 0x50
applymovement 0x5 0x880F59D
msgbox 0x880F5B4 '"???: [rival], wait!\nYou fogots you..."
callstd 0x6
waitmovement 0x0
msgbox 0x880F4E2 '"Prof. Cypress: Is everythng okay?\..."
callstd 0x6
applymovement 0x5 0x880F4DF
applymovement 0x3 0x880F4D4
waitmovement 0x0
msgbox 0x880F4A2 '"Prof. Cypress: [player]!\nCome over..."
callstd 0x6
applymovement MOVE_PLAYER 0x880F49D
waitmovement 0x0
msgbox 0x880F404 '"[rival]'s Mom: Oh, hello, [player]...."
callstd 0x6
msgbox 0x880F3D6 '"[rival]'s Mom: Really? Would you do..."
callstd 0x5
compis LASTRESULT 0x1
if 0x0 gotso 0x880F1A3
msgbox 0x880F35A '"[rival]'s Mom: Oh, thank you so\nmu..."
callstd 0x6
giveitem 0x169 0x1 0x0
msgbox 0x880F297 '"[rival]'s Mom: You need that ta\nge..."
callstd 0x6
applymovement 0x3 0x880F28D
waitmovement 0x0
hidesprite 0x3
setflag 0x8C3
msgbox 0x880F20B '"[rival]'s Mom: Good luck and\ngoodb..."
callstd 0x6
setflag 0x8CA
applymovement 0x5 0x880F200
waitmovement 0x0
hidesprite 0x5
setflag 0x8C9
release
end

'-----------------------
#org 0x80F07E
lock
msgbox 0x880F097 '"Remember what [rival]'s Mom said,\n..."
callstd 0x6
applymovement MOVE_PLAYER 0x880F094
waitmovement 0x0
release
end

'-----------------------
#org 0x80F63D
tranerbattle 0x0 0x2 0x0 0x880F69B 0x880F691
release
end

'-----------------------
#org 0x80F62C
tranerbattle 0x0 0x2 0x0 0x880F69B 0x880F691
release
end

'-----------------------
#org 0x80F1A3
msgbox 0x880F38F '"[rival]'s Mom: Is you sure?\nYou c..."
callstd 0x5
compis LASTRESULT 0x1
if 0x0 gotso 0x880F1A3
msgbox 0x880F35A '"[rival]'s Mom: Oh, thank you so\nmu..."
callstd 0x6
giveitem 0x169 0x2 0x0
msgbox 0x880F297 '"[rival]'s Mom: You need that ta\nge..."
callstd 0x6
applymovement 0x3 0x880F28D
waitmovement 0x0
hidesprite 0x3
setflag 0x8C3
msgbox 0x880F20B '"[rival]'s Mom: Good luck and\ngoodb..."
callstd 0x6
setflag 0x8CA
applymovement 0x5 0x880F200
waitmovement 0x0
hidesprite 0x5
setflag 0x8C9
release
end


'-----------
' Movements
'-----------
#org 0x80F053
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw FE 'End of Movements

#org 0x80F02A
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x80EFB5
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements

#org 0x80EF94
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements

#org 0x80EF91
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x80EF8D
#raw 12 'Step Left (Normal)
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x80F7A4
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 2 'Face Left
#raw FE 'End of Movements

#org 0x80F770
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 55 'Jump n Place (Facng Right)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw FE 'End of Movements

#org 0x80F64E
#raw 1D 'Step Down (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw FE 'End of Movements

#org 0x80F58A
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 1 'Face Up
#raw FE 'End of Movements

#org 0x80F59D
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 0 'Face Down
#raw FE 'End of Movements

#org 0x80F4DF
#raw 3 'Face Right
#raw FE 'End of Movements

#org 0x80F4D4
#raw 3 'Face Right
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw FE 'End of Movements

#org 0x80F49D
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw FE 'End of Movements

#org 0x80F28D
#raw 12 'Step Left (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw FE 'End of Movements

#org 0x80F200
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements

#org 0x80F094
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements


'---------
' Strngs
'---------
#org 0x80F033
= -

#org 0x80EFD6
= -

#org 0x80F782
= -

#org 0x80F69B
= -

#org 0x80F691
= -

#org 0x80F65A
= -

#org 0x80F5B4
= -

#org 0x80F4E2
= -

#org 0x80F4A2
= -

#org 0x80F404
= -

#org 0x80F3D6
= -

#org 0x80F35A
= -

#org 0x80F297
= --

#org 0x80F20B
= ---

#org 0x80F097
= -

#org 0x80F38F
= --
__________________

Brothar of Vrai
Reply With Quote
  #50    
Old July 4th, 2011 (08:31 AM).
[I]-Hac*ker.'s Avatar
[I]-Hac*ker.
Touko Fan <3
 
Join Date: Jun 2011
Location: The Netherlands
Age: 19
Gender: Male
Quote orignally posted by colcolstyles:
It's been a while snce I've dealt wit level scripts but try tha followng (red = cut, blue = add):

Spoiler:
Code:
'-----------------------
#org 0x71B598
#raw 02
#raw ponter 0x871B658
#raw 02
#raw ponter 0x871B5A3
#raw 00

'-----------------------
#org 0x71B658
#raw word 0x7001
#raw word 0x0
#raw ponter 0x880EEEF
#raw word 0x7001
#raw word 0x1
#raw ponter 0x880EEEF
#raw word 0x0

'-----------------------
#org 0x71B5A3
#raw word 0x7001
#raw word 0x1
#raw ponter 0x880EEEF
#raw word 0x0

'-----------------------
#org 0x80EEEF
compis 0x7001 0x0
if 0x1 gotso 0x880EF08
compis 0x7001 0x1
if 0x1 gotso 0x880F05B
release
end

'-----------------------
#org 0x80EF08
set-vizzlear 0x7001 0x1
checkflag 0x828
if 0x0 gotso 0x880EF19
release
end

'-----------------------
#org 0x80F05B
set-vizzlear 0x7001 0x2
checkflag 0x8C6
if 0x0 gotso 0x880F5DF
checkflag 0x8C8
if 0x0 gotso 0x880F0CE
checkflag 0x8CA
if 0x1 gotso 0x880F07E
release
end

'-----------------------
#org 0x80EF19
lockall
applymovement MOVE_PLAYER 0x880F053
waitmovement 0x0
msgbox 0x880F033 '"Prof. Cypress: Hey!\n[player]! Wait..."
callstd 0x6
applymovement 0x3 0x880F02A
waitmovement 0x0
msgbox 0x880EFD6 '"Prof. Cypress: Ah, [player].\nI've ..."
callstd 0x6
setdooropened 0x14 0x17
playsong 0x13E 0x0
applymovement 0x3 0x880EFB5
applymovement MOVE_PLAYER 0x880EF94
waitmovement 0x0
doorchange
applymovement 0x3 0x880EF91
waitmovement 0x0
setdoorclosed 0x14 0x17
doorchange
setdooropened 0x14 0x17
doorchange
applymovement MOVE_PLAYER 0x880EF8D
waitmovement 0x0
fadesong 0x12C
warp 0x4 0x3 0xFF 0x6 0xC
setdoorclosed 0x14 0x17
doorchange
release
end

'-----------------------
#org 0x80F5DF
showsprite 0x4
clearflag 0x8C7
lockall
applymovement MOVE_PLAYER 0x880F7A4
waitmovement 0x0
applymovement 0x4 0x880F770
msgbox 0x880F782 '"[rival]: Psh. Try ta tell me how ta..."
callstd 0x6
waitmovement 0x0
compis 0x7005 0x1
if 0x1 gotso 0x880F63D
compis 0x7005 0x2
if 0x1 gotso 0x880F62C
setflag 0x8C6
tranerbattle 0x0 0x2 0x0 0x880F69B 0x880F691
release
end

'-----------------------
#org 0x80F0CE
setflag 0x8C8
lock
faceplayer
msgbox 0x880F65A '"[rival]: Ugh! That didn't\nhelp at ..."
callstd 0x6
applymovement 0x4 0x880F64E
waitmovement 0x0
hidesprite 0x4
setflag 0x8C7
showsprite 0x3
clearflag 0x8C3
showsprite 0x4
clearflag 0x8C9
applymovement 0x3 0x880F58A
pause 0x50
applymovement 0x5 0x880F59D
msgbox 0x880F5B4 '"???: [rival], wait!\nYou fogots you..."
callstd 0x6
waitmovement 0x0
msgbox 0x880F4E2 '"Prof. Cypress: Is everythng okay?\..."
callstd 0x6
applymovement 0x5 0x880F4DF
applymovement 0x3 0x880F4D4
waitmovement 0x0
msgbox 0x880F4A2 '"Prof. Cypress: [player]!\nCome over..."
callstd 0x6
applymovement MOVE_PLAYER 0x880F49D
waitmovement 0x0
msgbox 0x880F404 '"[rival]'s Mom: Oh, hello, [player]...."
callstd 0x6
msgbox 0x880F3D6 '"[rival]'s Mom: Really? Would you do..."
callstd 0x5
compis LASTRESULT 0x1
if 0x0 gotso 0x880F1A3
msgbox 0x880F35A '"[rival]'s Mom: Oh, thank you so\nmu..."
callstd 0x6
giveitem 0x169 0x1 0x0
msgbox 0x880F297 '"[rival]'s Mom: You need that ta\nge..."
callstd 0x6
applymovement 0x3 0x880F28D
waitmovement 0x0
hidesprite 0x3
setflag 0x8C3
msgbox 0x880F20B '"[rival]'s Mom: Good luck and\ngoodb..."
callstd 0x6
setflag 0x8CA
applymovement 0x5 0x880F200
waitmovement 0x0
hidesprite 0x5
setflag 0x8C9
release
end

'-----------------------
#org 0x80F07E
lock
msgbox 0x880F097 '"Remember what [rival]'s Mom said,\n..."
callstd 0x6
applymovement MOVE_PLAYER 0x880F094
waitmovement 0x0
release
end

'-----------------------
#org 0x80F63D
tranerbattle 0x0 0x2 0x0 0x880F69B 0x880F691
release
end

'-----------------------
#org 0x80F62C
tranerbattle 0x0 0x2 0x0 0x880F69B 0x880F691
release
end

'-----------------------
#org 0x80F1A3
msgbox 0x880F38F '"[rival]'s Mom: Is you sure?\nYou c..."
callstd 0x5
compis LASTRESULT 0x1
if 0x0 gotso 0x880F1A3
msgbox 0x880F35A '"[rival]'s Mom: Oh, thank you so\nmu..."
callstd 0x6
giveitem 0x169 0x2 0x0
msgbox 0x880F297 '"[rival]'s Mom: You need that ta\nge..."
callstd 0x6
applymovement 0x3 0x880F28D
waitmovement 0x0
hidesprite 0x3
setflag 0x8C3
msgbox 0x880F20B '"[rival]'s Mom: Good luck and\ngoodb..."
callstd 0x6
setflag 0x8CA
applymovement 0x5 0x880F200
waitmovement 0x0
hidesprite 0x5
setflag 0x8C9
release
end


'-----------
' Movements
'-----------
#org 0x80F053
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw FE 'End of Movements

#org 0x80F02A
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x80EFB5
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements

#org 0x80EF94
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements

#org 0x80EF91
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x80EF8D
#raw 12 'Step Left (Normal)
#raw 11 'Step Up (Normal)
#raw FE 'End of Movements

#org 0x80F7A4
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 2 'Face Left
#raw FE 'End of Movements

#org 0x80F770
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 55 'Jump n Place (Facng Right)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw FE 'End of Movements

#org 0x80F64E
#raw 1D 'Step Down (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw 20 'Step Right (Fast)
#raw FE 'End of Movements

#org 0x80F58A
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 1 'Face Up
#raw FE 'End of Movements

#org 0x80F59D
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 0 'Face Down
#raw FE 'End of Movements

#org 0x80F4DF
#raw 3 'Face Right
#raw FE 'End of Movements

#org 0x80F4D4
#raw 3 'Face Right
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 62 'Exclbeation Mark (!)
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw 1C 'Delay5
#raw FE 'End of Movements

#org 0x80F49D
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw 13 'Step Right (Normal)
#raw FE 'End of Movements

#org 0x80F28D
#raw 12 'Step Left (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw 10 'Step Down (Normal)
#raw FE 'End of Movements

#org 0x80F200
#raw 11 'Step Up (Normal)
#raw 11 'Step Up (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements

#org 0x80F094
#raw 12 'Step Left (Normal)
#raw FE 'End of Movements


'---------
' Strngs
'---------
#org 0x80F033
= -

#org 0x80EFD6
= -

#org 0x80F782
= -

#org 0x80F69B
= -

#org 0x80F691
= -

#org 0x80F65A
= -

#org 0x80F5B4
= -

#org 0x80F4E2
= -

#org 0x80F4A2
= -

#org 0x80F404
= -

#org 0x80F3D6
= -

#org 0x80F35A
= -

#org 0x80F297
= --

#org 0x80F20B
= ---

#org 0x80F097
= -

#org 0x80F38F
= --
Thanks fo replyng! But it didn't change anythng, tha first script works bootylicious, but tha second freezes. Tha music &bep; othar sprites contnue on playng and movng, only tha player freezes, I can't move

I appreciate tha help, though =)(
__________________





Quote orignally posted by [I]-Hac*ker.:
You know you're a computer nerd, when at a certan pont n real life, you've actually thought: "Dben, I screwed up, where's CTRL + Z?"...
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 02:57 AM.