DREAMWEB: Remove dead code and move most functions to DreamBase

This commit is contained in:
Filippos Karapetis 2011-12-26 22:09:47 +02:00
parent 0117fc415e
commit 4c66f74b58
8 changed files with 79 additions and 162 deletions

View file

@ -1494,7 +1494,7 @@ void DreamBase::useAxe() {
removeObFromInv();
}
void DreamGenContext::useKey() {
void DreamBase::useKey() {
switch(data.byte(kLocation)) {
case 5:
case 30:
@ -1512,7 +1512,6 @@ void DreamGenContext::useKey() {
if (data.byte(kMapx) == 11 && data.byte(kMapy) == 10) {
showPuzText(3, 300);
data.byte(kNewlocation) = 30;
al = 2;
fadeScreenDown();
showFirstUse();
putBackObStuff();