Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #dynamic 0x800000
- //---------------
- #org @start
- lockall
- textcolor 0x0
- compare 0x4011 0x0
- if 0x1 goto @snippet1
- msgbox @string1 MSG_YESNO //"Ah, a fresh face! Are you hear to\..."
- compare LASTRESULT 0x0
- if 0x1 goto @snippet2
- msgbox @string2 MSG_NORMAL //"Ah, well. I hope you stick\naround..."
- end
- //---------------
- #org @snippet1
- msgbox @string3 MSG_YESNO //"Ah, welcome back! Are you hear to\..."
- compare LASTRESULT 0x0
- if 0x1 goto @snippet2
- msgbox @string2 MSG_NORMAL //"Ah, well. I hope you stick\naround..."
- end
- //---------------
- #org @snippet2
- msgbox @string4 MSG_YESNO //"Excellent! Do you need help\nunder..."
- compare LASTRESULT 0x0
- if 0x1 goto @snippet3
- msgbox @string5 MSG_NORMAL //"Fantastic! Who will you be racing\..."
- multichoice 0x0 0x0 0x3 0x0
- msgbox @string6 MSG_NORMAL //"A wise choice! Take your place at\..."
- copyvar 0x4012 LASTRESULT
- compare 0x4012 0x0
- if 0x0 goto @snippet4
- compare 0x4012 0x0
- if 0x1 goto @snippet5
- compare 0x4012 0x0
- if 0x2 goto @snippet6
- compare 0x4012 0x0
- if 0x3 goto @snippet7
- end
- //---------------
- #org @snippet3
- msgbox @string7 MSG_NORMAL //"Here's a quick rundown: Four\nrace..."
- multichoice 0x0 0x0 0x3 0x0
- msgbox @string6 MSG_NORMAL //"A wise choice! Take your place at\..."
- copyvar 0x4012 LASTRESULT
- compare 0x4012 0x0
- if 0x0 goto @snippet4
- compare 0x4012 0x0
- if 0x1 goto @snippet5
- compare 0x4012 0x0
- if 0x2 goto @snippet6
- compare 0x4012 0x0
- if 0x3 goto @snippet7
- end
- //---------------
- #org @snippet4
- movesprite 0x1C 0xF 0x21
- movesprite 0x1A 0xF 0x22
- setvar 0x4013 0x1C
- setvar 0x4014 0x1A
- goto @snippet8
- //---------------
- #org @snippet5
- movesprite 0x1D 0xF 0x21
- movesprite 0x1B 0xF 0x22
- setvar 0x4013 0x1D
- setvar 0x4014 0x1B
- goto @snippet8
- //---------------
- #org @snippet6
- movesprite 0x1A 0xF 0x21
- movesprite 0x1C 0xF 0x22
- setvar 0x4013 0x1A
- setvar 0x4014 0x1C
- goto @snippet8
- //---------------
- #org @snippet7
- movesprite 0x1B 0xF 0x21
- movesprite 0x1D 0xF 0x22
- setvar 0x4013 0x1B
- setvar 0x4014 0x1D
- goto @snippet8
- //---------------
- #org @snippet8
- fadescreen 0x1
- sound 0x9
- movesprite 0xFF 0xE 0x1C
- movesprite 0x17 0x10 0x1C
- spritebehave 0x17 0x8
- special 0x113
- applymovement MOVE_CAMERA @move1
- waitmovement 0x0
- special 0x114
- fadescreen 0x0
- special 0x113
- applymovement MOVE_CAMERA @move2
- waitmovement 0x0
- random 0x4
- compare LASTRESULT 0x0
- if 0x0 goto @snippet9
- goto @snippet10
- //---------------
- #org @snippet9
- applymovementpos 0x4014 @move3 0xF 0x22
- pause 0x10
- applymovement MOVE_CAMERA @move4
- applymovementpos 0x4013 @move4 0xF 0x21
- waitmovementpos 0x0 0xF 0x22
- sound 0x1A
- checksound
- applymovement MOVE_CAMERA @move5
- waitmovement 0x0
- special 0x114
- msgbox @string8 MSG_NORMAL //"Sorry traveler, you didn't win\nto..."
- fadescreen 0x1
- sound 0x9
- movesprite 0xFF 0xF 0x12
- movesprite 0x23 0xF 0x13
- spritebehave 0x23 0x7
- applymovement MOVE_CAMERA @move1
- waitmovement 0x0
- fadescreen 0x0
- msgbox @string9 MSG_NORMAL //"Please, come and play again\ntrave..."
- setvar 0x4015 0x0
- releaseall
- end
- //---------------
- #org @snippet10
- applymovement MOVE_CAMERA @move4
- applymovementpos 0x4013 @move4 0xF 0x21
- pause 0x10
- applymovementpos 0x4014 @move3 0xF 0x22
- waitmovementpos 0x0 0xF 0x22
- sound 0x69
- checksound
- addvar 0x4015 0x1
- compare 0x4015 0x0
- if 0x3 goto @snippet11
- msgbox @string10 MSG_NORMAL //"[black_fr]NEXT RACE"
- waitmsg
- compare 0x4015 0x0
- if 0x2 goto @snippet12
- compare 0x4015 0x0
- if 0x1 goto @snippet13
- end
- //---------------
- #org @snippet11
- applymovement MOVE_CAMERA @move5
- waitmovement 0x0
- special 0x114
- msgbox @string11 MSG_NORMAL //"We have a victor! Here is your\nma..."
- waitmsg
- giveitem 0x1 0x1 0x6
- showmoney 0x0 0x0 0x0
- givemoney 0xFA0 0x0
- updatemoney 0x0 0x0 0x0
- msgbox @string12 MSG_NORMAL //"And here is your 4,000\nPokémon Do..."
- waitmsg
- hidemoney 0x0 0x0
- fadescreen 0x1
- sound 0x9
- movesprite 0xFE 0xF 0x12
- movesprite 0x17 0xF 0x13
- spritebehave 0x17 0x7
- fadescreen 0x0
- msgbox @string9 MSG_NORMAL //"Please, come and play again\ntrave..."
- setvar 0x4015 0x0
- releaseall
- end
- //---------------
- #org @snippet12
- random 0x4
- compare LASTRESULT 0x0
- if 0x3 goto @snippet8
- goto @snippet9
- //---------------
- #org @snippet13
- random 0x4
- compare LASTRESULT 0x0
- if 0x0 goto @snippet9
- compare LASTRESULT 0x0
- if 0x1 goto @snippet9
- goto @snippet10
- //---------
- // Strings
- //---------
- #org @string1
- = Ah, a fresh face! Are you hear to\nparticipate?
- #org @string2
- = Ah, well. I hope you stick\naround! Things get heated here in\lSyrabia!
- #org @string3
- = Ah, welcome back! Are you hear to\nparticipate?
- #org @string4
- = Excellent! Do you need help\nunderstanding how it works?
- #org @string5
- = Fantastic! Who will you be racing\nwith?
- #org @string6
- = A wise choice! Take your place at\nthe racer's bench. We'll be\lgetting started in an hour!
- #org @string7
- = Here's a quick rundown: Four\nracers will choose their racer.\lEach racer will 'hop' into a full\llap around the track. Press the A\lbutton to hop! The higher your\lCountryball's energy, the faster\lyou can hop. The first racer to\ltake a full lap around the center\lpyre wins that race, and ascends\lto the next round. The third race\lis the final 4, and the winner\ltakes all! That means a huge\lgrand prize for you.\pFantastic! Who will you be racing\nwith?
- #org @string8
- = Sorry traveler, you didn't win\ntoday.
- #org @string9
- = Please, come and play again\ntraveler.
- #org @string10
- = [black_fr]NEXT RACE
- #org @string11
- = We have a victor! Here is your\nmaster ball!
- #org @string12
- = And here is your 4,000\nPokémon Dollars!
- //-----------
- // Movements
- //-----------
- #org @move1
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0xFE //End of Movements
- #org @move2
- #raw 0x10 //Step Down (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0xFE //End of Movements
- #org @move3
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0xFE //End of Movements
- #org @move4
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x10 //Step Down (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0x13 //Step Right (Normal)
- #raw 0xFE //End of Movements
- #org @move5
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0x12 //Step Left (Normal)
- #raw 0x11 //Step Up (Normal)
- #raw 0xFE //End of Movements
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement