aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-12-14 08:43:28 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-12-14 08:43:28 -0500
commit840cf5f0d3fc60aceb95385010eac02ae6c95dcc (patch)
tree0b7eb237737289ad9b3f9bffc1478875d0d71abf /src/gameplay.cpp
parent3f70fa248e411178f33075f4b90f112eced37f14 (diff)
parent477e6cdde57a428b41e814943233d8b01f0db6bf (diff)
Merge branch 'master' of http://github.com/tcsullivan/gamedev
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 59320af..f922b03 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){