aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-12-14 08:41:31 -0500
committerClyne Sullivan <tullivan99@gmail.com>2015-12-14 08:41:31 -0500
commit477e6cdde57a428b41e814943233d8b01f0db6bf (patch)
tree36f138c42215770bfe9da7400db29a0c57914507 /src/gameplay.cpp
parent43bbcf02fd5e4e69a9aa521fa4cd572cc8675cf3 (diff)
arenas
Diffstat (limited to 'src/gameplay.cpp')
-rw-r--r--src/gameplay.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gameplay.cpp b/src/gameplay.cpp
index 74414d7..6d8fb0b 100644
--- a/src/gameplay.cpp
+++ b/src/gameplay.cpp
@@ -48,9 +48,17 @@ void worldSpawnHill1_hillBlock(Mob *callee){
callee->alive = true;
}
+static Arena *a;
void worldSpawnHill2_infoSprint(Mob *callee){
- ui::dialogBox("B-) ",NULL,true,"Press \'Shift\' to run!");
callee->alive = false;
+ a = new Arena(currentWorld,player);
+ a->setBackground(BG_FOREST);
+ a->setBGM("assets/music/embark.wav");
+ ui::toggleWhiteFast();
+ ui::waitForCover();
+ currentWorld = a;
+ ui::toggleWhiteFast();
+ //ui::dialogBox("B-) ",NULL,true,"Press \'Shift\' to run!");
}
void worldSpawnHill3_itemGet(Mob *callee){