[@Main]
#SAY
Hello, I am Miss Re. I will be guiding the people of Level 31~40.\
The arena is a place to test your own power only\
so summoned mobs are prohibitied to be used. The fee is 3000 Gold.\
Time Limit is 2 hours. I hope you will pass all stages and\
go home safely.\ \
Pay 3000 Gold <and challenge./@start>\
<Return to/@tavern> the tavern.\
<Let me think some more/@exit>\

[@tavern]
#ACT

MAP 0101

[@start]
#IF
CHECKLEVEL 41
#SAY
Your level is to high to fight here.\
Try my sister, MissMi\ \ \
<Close/@exit>\
#ELSEACT
GOTO @start2

[@start2]
#IF
CHECKLEVEL 31
#ACT
SET [500] 0
SET [501] 1
SET [502] 1
SET [503] 1
SET [504] 1
SET [505] 1
SET [506] 1
SET [507] 1
SET [508] 1
SET [509] 1
SET [510] 1
SET [511] 1
SET [512] 1
SET [513] 1
SET [514] 1
SET [515] 1
SET [516] 1
SET [517] 1
SET [518] 1
SET [519] 1
SET [520] 1
SET [521] 1
BREAKTIMERECALL
GOTO @class
#ELSESAY
You are not yet qualified to fight here.\
Try my sister, MissDo\ \ \
<Close/@exit>\

[@class]
#IF
CHECKJOB warrior
#ACT
GOTO @checkwarriorroom
#IF
CHECKJOB wizard
#ACT
GOTO @checkwizardroom
#ELSEACT
GOTO @checktaoistroom

[@checkwarriorroom]
#IF
CHECKHUM EM016 1
#ACT
GOTO @checkwarriorroom2
#ELSEACT
GOTO @movewarriorroom1

[@checkwarriorroom2]
#IF
CHECKHUM EM017 1
#ACT
GOTO @checkwarriorroom3
#ELSEACT
GOTO @movewarriorroom2

[@checkwarriorroom3]
#IF
CHECKHUM EM018 1
#ACT
GOTO @checkwarriorroom4
#ELSEACT
GOTO @movewarriorroom3

[@checkwarriorroom4]
#IF
CHECKHUM EM019 1
#ACT
GOTO @checkwarriorroom5
#ELSEACT
GOTO @movewarriorroom4

[@checkwarriorroom5]
#IF
CHECKHUM EM020 1
#SAY
Im Sorry, but all the rooms are currently in use.\
Try again later...\ \ \
<Close/@exit>\
#ELSEACT
GOTO @movewarriorroom5

[@movewarriorroom1]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM016
TIMERECALL 120
MAPMOVE EM016 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@movewarriorroom2]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM017
TIMERECALL 120
MAPMOVE EM017 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@movewarriorroom3]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM018
TIMERECALL 120
MAPMOVE EM018 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@movewarriorroom4]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM019
TIMERECALL 120
MAPMOVE EM019 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@movewarriorroom5]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM020
TIMERECALL 120
MAPMOVE EM020 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@checkwizardroom]
#IF
CHECKHUM EM021 1
#ACT
GOTO @checkwizardroom2
#ELSEACT
GOTO @movewizzroom1

[@checkwizardroom2]
#IF
CHECKHUM EM022 1
#ACT
GOTO @checkwizardroom3
#ELSEACT
GOTO @movewizzroom2

[@checkwizardroom3]
#IF
CHECKHUM EM023 1
#ACT
GOTO @checkwizardroom4
#ELSEACT
GOTO @movewizzroom3

[@checkwizardroom4]
#IF
CHECKHUM EM024 1
#ACT
GOTO @checkwizardroom5
#ELSEACT
GOTO @movewizzroom4

[@checkwizardroom5]
#IF
CHECKHUM EM025 1
#SAY
Im Sorry, but all the rooms are currently in use.\
Try again later...\ \ \
<Close/@exit>\
#ELSEACT
GOTO @movewizzroom5

[@movewizzroom1]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM021
TIMERECALL 120
MAPMOVE EM021 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@movewizzroom2]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM022
TIMERECALL 120
MAPMOVE EM022 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@movewizzroom3]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM023
TIMERECALL 120
MAPMOVE EM023 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@movewizzroom4]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM024
TIMERECALL 120
MAPMOVE EM024 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@movewizzroom5]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM025
TIMERECALL 120
MAPMOVE EM025 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@checktaoistroom]
#IF
CHECKHUM EM026 1
#ACT
GOTO @checktaoistroom2
#ELSEACT
GOTO @movetaoistroom1

[@checktaoistroom2]
#IF
CHECKHUM EM027 1
#ACT
GOTO @checktaoistroom3
#ELSEACT
GOTO @movetaoistroom2

[@checktaoistroom3]
#IF
CHECKHUM EM028 1
#ACT
GOTO @checktaoistroom4
#ELSEACT
GOTO @movetaoistroom3

[@checktaoistroom4]
#IF
CHECKHUM EM029 1
#ACT
GOTO @checktaoistroom5
#ELSEACT
GOTO @movetaoistroom4

[@checktaoistroom5]
#IF
CHECKHUM EM030 1
#SAY
Im Sorry, but all the rooms are currently in use.\
Try again later...\ \ \
<Close/@exit>\
#ELSEACT
GOTO @movetaoistroom5

[@movetaoistroom1]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM026
TIMERECALL 120
MAPMOVE EM026 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@movetaoistroom2]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM027
TIMERECALL 120
MAPMOVE EM027 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@movetaoistroom3]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM028
TIMERECALL 120
MAPMOVE EM028 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@movetaoistroom4]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM029
TIMERECALL 120
MAPMOVE EM029 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\

[@movetaoistroom5]
#IF
CHECKGOLD 3000
#ACT
TAKE Gold 3000
MONCLEAR EM030
TIMERECALL 120
MAPMOVE EM030 13 16
BREAK
#ELSESAY
You dont have the 3000 Gold entrance fee.\ \ \
<Close/@exit>\