View Single Post
  #20514    
Old February 15th, 2012 (12:42 PM).
Rasenshurikenbum's Avatar
Rasenshurikenbum Rasenshurikenbum is offline
ASM is very cool!
 
Join Date: Apr 2011
Location: Poland
Age: 19
Gender: Male
Nature: Relaxed
Posts: 68
Hey guys!
Is there any way to change the banned pokemon in battle tower? For example I want to make Latios banned in ruby version. Maybe you can do it by scripting... Can anyone help me?

There is a script from the battle tower lady (maybe it'll help...):
Spoiler:

'---------------
#org 0x16049E
lock
faceplayer
setvar 0x8004 0x0
special 0xEE
compare LASTRESULT 0x6
if 0x1 goto 0x8160342
special 0x27
msgbox 0x8199F2C MSG_KEEPOPEN '"Welcome to the BATTLE TOWER!\pPlea..."
preparemsg 0x8199F79 '"Would you like to make a BATTLE RO..."
waitmsg
multichoice 0xF 0x6 0x17 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x81604FA
compare 0x8000 0x1
if 0x1 goto 0x8160600
compare 0x8000 0x2
if 0x1 goto 0x8160652
compare 0x8000 0x7F
if 0x1 goto 0x8160652
preparemsg 0x819A024 '"There are two BATTLE ROOMS,\nLevel..."
waitmsg
multichoice 0x12 0x6 0x18 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0x2
if 0x1 goto 0x8160652
compare 0x8000 0x7F
if 0x1 goto 0x8160652
special 0xE9
compare 0x8004 0x1
if 0x1 goto 0x816060D
setvar 0x8004 0x1
copyvar 0x8005 LASTRESULT
copyvar 0x8006 LASTRESULT
special 0xED
msgbox 0x819A07B MSG_KEEPOPEN '"Please select the POKéMON you wish..."
fadescreen 0x1
special 0xF5
waitstate
compare LASTRESULT 0x0
if 0x1 goto 0x816064F
msgbox 0x8199FDA MSG_YESNO '"Before entering a BATTLE ROOM, you..."
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x816064F
compare 0x8000 0x1
if 0x1 goto 0x8160587
compare 0x8000 0x7F
if 0x1 goto 0x816064F
setvar 0x8004 0x5
special 0xED
setvar 0x4000 0x0
setvar 0x8004 0xB
special 0xED
setvar 0x8004 0x0
setvar 0x8005 0x1
special 0xED
setvar 0x8004 0x8
setvar 0x8005 0x0
special 0xED
special 0x28
closeonkeypress
pause 0x2
call 0x819F806
setvar 0x4000 0x5
hidebox 0x0 0x0 0xF 0xA
compare LASTRESULT 0x0
if 0x1 goto 0x8160642
cmdc3 0x1E
special 0x27
special 0xEF
setvar 0x40BC 0x1
msgbox 0x819A0A8 MSG_KEEPOPEN '"I'll direct you to your BATTLE ROO..."
closeonkeypress
call 0x8160664
warp 0x1A 0x6 0xFF 0x1 0x6
setvar 0x4000 0x0
waitstate
msgbox 0x819A0D1 MSG_KEEPOPEN '"The BATTLE TOWER is a facility mad..."
goto 0x81604BE
'---------------
#org 0x160342
lock
faceplayer
preparemsg 0x819A487 '"Congratulations!\nYou've beaten al..."
waitmsg
setvar 0x8004 0x0
special 0xEE
compare LASTRESULT 0x6
if 0x1 goto 0x816037D
special 0xF4
compare LASTRESULT 0x0
if 0x1 goto 0x816037D
preparemsg 0x819A6BE '"Here are some RIBBONS for beating\..."
waitmsg
fanfare 0x172
waitfanfare
msgbox 0x819A719 MSG_KEEPOPEN '"[player] put the RIBBONS on the\nc..."
setvar 0x8004 0x8
special 0xEE
compare LASTRESULT 0x1
if 0x1 goto 0x81603AD
preparemsg 0x819A589 '"Your record will be saved.\nPlease..."
waitmsg
setvar 0x8004 0xD
special 0xED
special 0xF2
setvar 0x8004 0x3
special 0xF0
sound 0x37
checksound
setvar 0x8004 0x0
setvar 0x8005 0x3
special 0xED
preparemsg 0x819A4BB '"For beating seven TRAINERS in a ro..."
waitmsg
special 0xF3
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x8160408
preparemsg 0x819A506 '"[player] received the prize\n[buff..."
waitmsg
fanfare 0x172
waitfanfare
setvar 0x8004 0x9
special 0xEE
compare LASTRESULT 0x31
if 0x5 goto 0x81603F8
msgbox 0x819A617 MSG_KEEPOPEN '"You're finally about to face the\n..."
msgbox 0x8199FA9 MSG_KEEPOPEN '"We'll be looking forward to your\n..."
closeonkeypress
setvar 0x4000 0x5
release
end
'---------------
#org 0x1604FA
preparemsg 0x819A024 '"There are two BATTLE ROOMS,\nLevel..."
waitmsg
multichoice 0x12 0x6 0x18 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0x2
if 0x1 goto 0x8160652
compare 0x8000 0x7F
if 0x1 goto 0x8160652
special 0xE9
compare 0x8004 0x1
if 0x1 goto 0x816060D
setvar 0x8004 0x1
copyvar 0x8005 LASTRESULT
copyvar 0x8006 LASTRESULT
special 0xED
msgbox 0x819A07B MSG_KEEPOPEN '"Please select the POKéMON you wish..."
fadescreen 0x1
special 0xF5
waitstate
compare LASTRESULT 0x0
if 0x1 goto 0x816064F
msgbox 0x8199FDA MSG_YESNO '"Before entering a BATTLE ROOM, you..."
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x816064F
compare 0x8000 0x1
if 0x1 goto 0x8160587
compare 0x8000 0x7F
if 0x1 goto 0x816064F
setvar 0x8004 0x5
special 0xED
setvar 0x4000 0x0
setvar 0x8004 0xB
special 0xED
setvar 0x8004 0x0
setvar 0x8005 0x1
special 0xED
setvar 0x8004 0x8
setvar 0x8005 0x0
special 0xED
special 0x28
closeonkeypress
pause 0x2
call 0x819F806
setvar 0x4000 0x5
hidebox 0x0 0x0 0xF 0xA
compare LASTRESULT 0x0
if 0x1 goto 0x8160642
cmdc3 0x1E
special 0x27
special 0xEF
setvar 0x40BC 0x1
msgbox 0x819A0A8 MSG_KEEPOPEN '"I'll direct you to your BATTLE ROO..."
closeonkeypress
call 0x8160664
warp 0x1A 0x6 0xFF 0x1 0x6
setvar 0x4000 0x0
waitstate
msgbox 0x819A0D1 MSG_KEEPOPEN '"The BATTLE TOWER is a facility mad..."
goto 0x81604BE
'---------------
#org 0x160600
msgbox 0x819A0D1 MSG_KEEPOPEN '"The BATTLE TOWER is a facility mad..."
goto 0x81604BE
'---------------
#org 0x160652
msgbox 0x8199FA9 MSG_KEEPOPEN '"We'll be looking forward to your\n..."
setvar 0x8004 0xB
special 0xED
release
end
'---------------
#org 0x16060D
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x8160628
compare 0x8000 0x1
if 0x1 goto 0x8160635
msgbox 0x819A249 MSG_KEEPOPEN '"Excuse me!\pYou don't have three e..."
goto 0x8160662
'---------------
#org 0x16064F
special 0x28
msgbox 0x8199FA9 MSG_KEEPOPEN '"We'll be looking forward to your\n..."
setvar 0x8004 0xB
special 0xED
release
end
'---------------
#org 0x160587
setvar 0x8004 0x5
special 0xED
setvar 0x4000 0x0
setvar 0x8004 0xB
special 0xED
setvar 0x8004 0x0
setvar 0x8005 0x1
special 0xED
setvar 0x8004 0x8
setvar 0x8005 0x0
special 0xED
special 0x28
closeonkeypress
pause 0x2
call 0x819F806
setvar 0x4000 0x5
hidebox 0x0 0x0 0xF 0xA
compare LASTRESULT 0x0
if 0x1 goto 0x8160642
cmdc3 0x1E
special 0x27
special 0xEF
setvar 0x40BC 0x1
msgbox 0x819A0A8 MSG_KEEPOPEN '"I'll direct you to your BATTLE ROO..."
closeonkeypress
call 0x8160664
warp 0x1A 0x6 0xFF 0x1 0x6
setvar 0x4000 0x0
waitstate
msgbox 0x819A0D1 MSG_KEEPOPEN '"The BATTLE TOWER is a facility mad..."
goto 0x81604BE
'---------------
#org 0x19F806
special 0x5D
waitstate
return
'---------------
#org 0x160642
setvar 0x8004 0xC
special 0xED
goto 0x8160652
'---------------
#org 0x160664
applymovement 0x1 0x8160693
applymovement MOVE_PLAYER 0x8160693
waitmovement 0x0
setdooropened 0x6 0x1
doorchange
applymovement 0x1 0x8160697
applymovement MOVE_PLAYER 0x816069A
waitmovement 0x0
setdoorclosed 0x6 0x1
doorchange
return
'---------------
#org 0x1604BE
preparemsg 0x8199F79 '"Would you like to make a BATTLE RO..."
waitmsg
multichoice 0xF 0x6 0x17 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x81604FA
compare 0x8000 0x1
if 0x1 goto 0x8160600
compare 0x8000 0x2
if 0x1 goto 0x8160652
compare 0x8000 0x7F
if 0x1 goto 0x8160652
preparemsg 0x819A024 '"There are two BATTLE ROOMS,\nLevel..."
waitmsg
multichoice 0x12 0x6 0x18 0x0
copyvar 0x8000 LASTRESULT
compare 0x8000 0x2
if 0x1 goto 0x8160652
compare 0x8000 0x7F
if 0x1 goto 0x8160652
special 0xE9
compare 0x8004 0x1
if 0x1 goto 0x816060D
setvar 0x8004 0x1
copyvar 0x8005 LASTRESULT
copyvar 0x8006 LASTRESULT
special 0xED
msgbox 0x819A07B MSG_KEEPOPEN '"Please select the POKéMON you wish..."
fadescreen 0x1
special 0xF5
waitstate
compare LASTRESULT 0x0
if 0x1 goto 0x816064F
msgbox 0x8199FDA MSG_YESNO '"Before entering a BATTLE ROOM, you..."
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x816064F
compare 0x8000 0x1
if 0x1 goto 0x8160587
compare 0x8000 0x7F
if 0x1 goto 0x816064F
setvar 0x8004 0x5
special 0xED
setvar 0x4000 0x0
setvar 0x8004 0xB
special 0xED
setvar 0x8004 0x0
setvar 0x8005 0x1
special 0xED
setvar 0x8004 0x8
setvar 0x8005 0x0
special 0xED
special 0x28
closeonkeypress
pause 0x2
call 0x819F806
setvar 0x4000 0x5
hidebox 0x0 0x0 0xF 0xA
compare LASTRESULT 0x0
if 0x1 goto 0x8160642
cmdc3 0x1E
special 0x27
special 0xEF
setvar 0x40BC 0x1
msgbox 0x819A0A8 MSG_KEEPOPEN '"I'll direct you to your BATTLE ROO..."
closeonkeypress
call 0x8160664
warp 0x1A 0x6 0xFF 0x1 0x6
setvar 0x4000 0x0
waitstate
msgbox 0x819A0D1 MSG_KEEPOPEN '"The BATTLE TOWER is a facility mad..."
goto 0x81604BE
'---------------
#org 0x16037D
setvar 0x8004 0x8
special 0xEE
compare LASTRESULT 0x1
if 0x1 goto 0x81603AD
preparemsg 0x819A589 '"Your record will be saved.\nPlease..."
waitmsg
setvar 0x8004 0xD
special 0xED
special 0xF2
setvar 0x8004 0x3
special 0xF0
sound 0x37
checksound
setvar 0x8004 0x0
setvar 0x8005 0x3
special 0xED
preparemsg 0x819A4BB '"For beating seven TRAINERS in a ro..."
waitmsg
special 0xF3
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x8160408
preparemsg 0x819A506 '"[player] received the prize\n[buff..."
waitmsg
fanfare 0x172
waitfanfare
setvar 0x8004 0x9
special 0xEE
compare LASTRESULT 0x31
if 0x5 goto 0x81603F8
msgbox 0x819A617 MSG_KEEPOPEN '"You're finally about to face the\n..."
msgbox 0x8199FA9 MSG_KEEPOPEN '"We'll be looking forward to your\n..."
closeonkeypress
setvar 0x4000 0x5
release
end
'---------------
#org 0x1603AD
setvar 0x8004 0x0
setvar 0x8005 0x3
special 0xED
preparemsg 0x819A4BB '"For beating seven TRAINERS in a ro..."
waitmsg
special 0xF3
copyvar 0x8000 LASTRESULT
compare 0x8000 0x0
if 0x1 goto 0x8160408
preparemsg 0x819A506 '"[player] received the prize\n[buff..."
waitmsg
fanfare 0x172
waitfanfare
setvar 0x8004 0x9
special 0xEE
compare LASTRESULT 0x31
if 0x5 goto 0x81603F8
msgbox 0x819A617 MSG_KEEPOPEN '"You're finally about to face the\n..."
msgbox 0x8199FA9 MSG_KEEPOPEN '"We'll be looking forward to your\n..."
closeonkeypress
setvar 0x4000 0x5
release
end
'---------------
#org 0x160408
msgbox 0x819A520 MSG_KEEPOPEN '"Oh, your BAG appears to be full.\p..."
waitmsg
closeonkeypress
setvar 0x4000 0x5
release
end
'---------------
#org 0x1603F8
msgbox 0x8199FA9 MSG_KEEPOPEN '"We'll be looking forward to your\n..."
closeonkeypress
setvar 0x4000 0x5
release
end
'---------------
#org 0x160628
msgbox 0x819A249 MSG_KEEPOPEN '"Excuse me!\pYou don't have three e..."
goto 0x8160662
'---------------
#org 0x160635
msgbox 0x819A32D MSG_KEEPOPEN '"Excuse me!\pYou don't have three e..."
goto 0x8160662
'---------------
#org 0x160662
release
end

'---------
' Strings
'---------
#org 0x199F2C
= Welcome to the BATTLE TOWER!\pPlease register with me to enter\na BATTLE ROOM.
#org 0x199F79
= Would you like to make a BATTLE ROOM\nchallenge?
#org 0x19A024
= There are two BATTLE ROOMS,\nLevel 50 and Level 100.\lWhich would you like to challenge?
#org 0x19A07B
= Please select the POKéMON you wish\nto enter.
#org 0x199FDA
= Before entering a BATTLE ROOM, your\nprogress must be saved. Is that okay?
#org 0x19A0A8
= I'll direct you to your BATTLE ROOM now.
#org 0x19A0D1
= The BATTLE TOWER is a facility made\nespecially for POKéMON battles.\pWithin the TOWER are many BATTLE ROOMS.\pIn each BATTLE ROOM, seven TRAINERS\nawait your challenge.\pBeat all seven, and you will be rewarded\nwith a fabulous prize.\pYou may also take a break from your\nchallenge by saving your progress.\pMake sure you save properly or you\nwon't be able to resume your challenge.
#org 0x19A487
= Congratulations!\nYou've beaten all seven TRAINERS!\p
#org 0x19A6BE
= Here are some RIBBONS for beating\nseven tough TRAINERS in a row.\p[player] received some RIBBONS!
#org 0x19A719
= [player] put the RIBBONS on the\nchallenger POKéMON.
#org 0x19A589
= Your record will be saved.\nPlease wait.
#org 0x19A4BB
= For beating seven TRAINERS in a row,\nyou have earned this fabulous prize!\p
#org 0x19A506
= [player] received the prize\n[buffer1].
#org 0x19A617
= You're finally about to face the\n50th TRAINER.\pFrom here on, every time you beat seven\nTRAINERS in a row, your POKéMON will\lreceive a commemorative RIBBON.\pGood luck!
#org 0x199FA9
= We'll be looking forward to your\nnext challenge.
#org 0x19A249
= Excuse me!\pYou don't have three eligible POKéMON.\pYou must have three different POKéMON\nof Level 50 or less to enter.\pThey also must be holding different\nkinds of items.\pEGGS[buffer1] ineligible.\pPlease come see me when you are ready.
#org 0x19A520
= Oh, your BAG appears to be full.\pPlease make room in your BAG, then come\nsee me.
#org 0x19A32D
= Excuse me!\pYou don't have three eligible POKéMON.\pYou must have three different POKéMON\nto enter.\pThey also must be holding different\nkinds of items.\pEGGS[buffer1] ineligible.\pPlease come see me when you are ready.

'-----------
' Movements
'-----------
#org 0x160693
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0xFE 'End of Movements
#org 0x160697
#raw 0x9 'Step Up (Normal)
#raw 0x54 'Hide
#raw 0xFE 'End of Movements
#org 0x16069A
#raw 0x9 'Step Up (Normal)
#raw 0x9 'Step Up (Normal)
#raw 0x54 'Hide
#raw 0xFE 'End of Movements