Well I have a few questions about this script. Hopefully someone here can help me.
1. After the 2nd trainer battle, the two guys are suppose to walk away but halfway through their movements they stop and the script ends (player can move around). I've tried a lot of different fixes but I can't seem to solve this problem.
2. I want to make the guy pause in the script. ex. Walks (stops) looks left (pauses) looks right (pauses). How would I go about making that happen? I've tried experimenting with the "delay" commands but to no avail.
3. Finally, if the player gets defeated by blither trainer, if he goes back to the script start again, it goes up to the part right before the battle and releases the player. How can I fix this?
Thanks for any help.
Spoiler:
#dynamic 0x800000
#org @start
lockall
checkflag 0x205
if 0x1 goto @done
special 0x113
applymovement 0x7F @move
applymovement 0xA @move2
applymovement 0xB @move3
waitmovement 0x0
applymovement 0xA @move4
applymovement 0xB @move5
waitmovement 0x0
msgbox @1 0x6
applymovement 0xFF @move6
applymovement 0xA @move7
applymovement 0xB @move8
waitmovement 0x0
msgbox @2 0x6
trainerbattle 0x1 0x006 0x0 @before @after @later
end
#org @later
msgbox @3 0x6
msgbox @4 0x6
applymovement 0xB @move10
waitmovement 0x0
applymovement 0xFF @move11
waitmovement 0x0
trainerbattle 0x1 0x005 0x0 @before1 @after1 @later1
end
#org @later1
msgbox @5 0x6
msgbox @6 0x6
applymovement 0xA @move12
applymovement 0xB @move13
applymovement 0xFF @move14
waitmovement 0x0
special 0x114
setflag 0x205
releaseall
end
#org @done
release
end
#org @1
= [red_fr]Thug 2: Well this is the end of\nthe forest. Where the hell is\leveryone?! I knew this whole trip\lwas a waste of time.\lThug 1: Now look who's\lcomplaining! You're right though,\lthis was a compleate waste of our\ltime.
#org @2
= [blue_fr][player]: Hey! You two! I want to\nspeak to you!.
#org @before
= [red_fr]Thug 1: Well, well, well. Look\nwhat the cat dragged in.\l[blue_fr][player]: Where is my\lfather! I demand an anwser now!\l[red_fr]Thug 1: Do you really think\lwe're going to tell YOU that?\lThug 2: What should we do with\lhim?\lThug 1: Punish him ofcourse!
#org @after
= You got lucky this time.
#org @3
= [red_fr]Thug 1: Wow! This child is\nactually pretty good.
#org @4
= [blue_fr][player]: Now tell me where my\nfather is!!!
#org @before1
= [red_fr]Thug 2: Not so fast there young\none, you have to get through me\lfirst.
#org @after1
= I guess I'll tell you where he is.
#org @5
= [blue_fr][player]: Alright, I've beaten\nyou both! Tell me where he is!
#org @6
= [red_fr]Thug 2: Ha! You actually\nbelived we were going to tell you\lwhere we hid him! You're dumber\lthan you look!. Lets get out of\lhere!
#org @move
#raw 0x11 0x11 0x11 0xFE
#org @move2
#raw 0x11 0x11 0x11 0x11 0xFE
#org @move3
#raw 0x11 0x11 0x11 0x11 0xFE
#org @move4
#raw 0x10 0x12 0x12 0x10 0x12 0x18 0x0 0x18 0x2 0x18 0x1 0x18 0x13 0x11 0x13 0x13 0x11 0x3 0xFE
#org @move5
#raw 0x0 0x3 0x2 0x1 0x0 0x2 0xFE
#org @move6
#raw 0x11 0x11 0x11 0x11 0xFE
#org @move7
#raw 0x18 0x18 0x0 0x62 0xFE
#org @move8
#raw 0x18 0x18 0x0 0x62 0xFE
#org @move10
#raw 0x10 0x2 0xFE
#org @move11
#raw 0x3 0xFE
#org @move12
#raw 0x11 0x13 0x13 0x11 0x11 0x11 0x60 0x1E 0x1E 0xFE
#org @move13
#raw 0x11 0x11 0x13 0x11 0x11 0x11 0x60 0x1E 0x1E 0xFE
#org @move14
#raw 0x18 0x62 0x0 0xFE
#org @start
lockall
checkflag 0x205
if 0x1 goto @done
special 0x113
applymovement 0x7F @move
applymovement 0xA @move2
applymovement 0xB @move3
waitmovement 0x0
applymovement 0xA @move4
applymovement 0xB @move5
waitmovement 0x0
msgbox @1 0x6
applymovement 0xFF @move6
applymovement 0xA @move7
applymovement 0xB @move8
waitmovement 0x0
msgbox @2 0x6
trainerbattle 0x1 0x006 0x0 @before @after @later
end
#org @later
msgbox @3 0x6
msgbox @4 0x6
applymovement 0xB @move10
waitmovement 0x0
applymovement 0xFF @move11
waitmovement 0x0
trainerbattle 0x1 0x005 0x0 @before1 @after1 @later1
end
#org @later1
msgbox @5 0x6
msgbox @6 0x6
applymovement 0xA @move12
applymovement 0xB @move13
applymovement 0xFF @move14
waitmovement 0x0
special 0x114
setflag 0x205
releaseall
end
#org @done
release
end
#org @1
= [red_fr]Thug 2: Well this is the end of\nthe forest. Where the hell is\leveryone?! I knew this whole trip\lwas a waste of time.\lThug 1: Now look who's\lcomplaining! You're right though,\lthis was a compleate waste of our\ltime.
#org @2
= [blue_fr][player]: Hey! You two! I want to\nspeak to you!.
#org @before
= [red_fr]Thug 1: Well, well, well. Look\nwhat the cat dragged in.\l[blue_fr][player]: Where is my\lfather! I demand an anwser now!\l[red_fr]Thug 1: Do you really think\lwe're going to tell YOU that?\lThug 2: What should we do with\lhim?\lThug 1: Punish him ofcourse!
#org @after
= You got lucky this time.
#org @3
= [red_fr]Thug 1: Wow! This child is\nactually pretty good.
#org @4
= [blue_fr][player]: Now tell me where my\nfather is!!!
#org @before1
= [red_fr]Thug 2: Not so fast there young\none, you have to get through me\lfirst.
#org @after1
= I guess I'll tell you where he is.
#org @5
= [blue_fr][player]: Alright, I've beaten\nyou both! Tell me where he is!
#org @6
= [red_fr]Thug 2: Ha! You actually\nbelived we were going to tell you\lwhere we hid him! You're dumber\lthan you look!. Lets get out of\lhere!
#org @move
#raw 0x11 0x11 0x11 0xFE
#org @move2
#raw 0x11 0x11 0x11 0x11 0xFE
#org @move3
#raw 0x11 0x11 0x11 0x11 0xFE
#org @move4
#raw 0x10 0x12 0x12 0x10 0x12 0x18 0x0 0x18 0x2 0x18 0x1 0x18 0x13 0x11 0x13 0x13 0x11 0x3 0xFE
#org @move5
#raw 0x0 0x3 0x2 0x1 0x0 0x2 0xFE
#org @move6
#raw 0x11 0x11 0x11 0x11 0xFE
#org @move7
#raw 0x18 0x18 0x0 0x62 0xFE
#org @move8
#raw 0x18 0x18 0x0 0x62 0xFE
#org @move10
#raw 0x10 0x2 0xFE
#org @move11
#raw 0x3 0xFE
#org @move12
#raw 0x11 0x13 0x13 0x11 0x11 0x11 0x60 0x1E 0x1E 0xFE
#org @move13
#raw 0x11 0x11 0x13 0x11 0x11 0x11 0x60 0x1E 0x1E 0xFE
#org @move14
#raw 0x18 0x62 0x0 0xFE
1. After the 2nd trainer battle, the two guys are suppose to walk away but halfway through their movements they stop and the script ends (player can move around). I've tried a lot of different fixes but I can't seem to solve this problem.
![[PokeCommunity.com] Script Help Thread (DO NOT REQUEST SCRIPTS) [PokeCommunity.com] Script Help Thread (DO NOT REQUEST SCRIPTS)](https://i17.photobucket.com/albums/b71/adamb241/Pokemon-FireRed-1.png)
2. I want to make the guy pause in the script. ex. Walks (stops) looks left (pauses) looks right (pauses). How would I go about making that happen? I've tried experimenting with the "delay" commands but to no avail.
3. Finally, if the player gets defeated by blither trainer, if he goes back to the script start again, it goes up to the part right before the battle and releases the player. How can I fix this?
Thanks for any help.