diff options
author | Vladimir Menshakov | 2011-06-19 15:49:49 +0400 |
---|---|---|
committer | Vladimir Menshakov | 2011-06-19 15:50:22 +0400 |
commit | 4ede98d748d1d3a52714cf84da17ccd83b50d35b (patch) | |
tree | e8955461b497d48d3c16ebf5e58372a68f4802d5 /devtools/tasmrecover/dreamweb/dreamweb.asm | |
parent | 41159c68ab35abea23e95974cedc286f530b11c9 (diff) | |
download | scummvm-rg350-4ede98d748d1d3a52714cf84da17ccd83b50d35b.tar.gz scummvm-rg350-4ede98d748d1d3a52714cf84da17ccd83b50d35b.tar.bz2 scummvm-rg350-4ede98d748d1d3a52714cf84da17ccd83b50d35b.zip |
DREAMWEB: Removed getback = 4 hack, added clean exit from every menus and credits
Diffstat (limited to 'devtools/tasmrecover/dreamweb/dreamweb.asm')
-rw-r--r-- | devtools/tasmrecover/dreamweb/dreamweb.asm | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/devtools/tasmrecover/dreamweb/dreamweb.asm b/devtools/tasmrecover/dreamweb/dreamweb.asm index 5d2a60a0c7..a3c165aaf9 100644 --- a/devtools/tasmrecover/dreamweb/dreamweb.asm +++ b/devtools/tasmrecover/dreamweb/dreamweb.asm @@ -135,13 +135,24 @@ Dreamweb proc near dodecisions: call cls call setmode call decide + + cmp quitrequested, 0 + jnz exitgame + cmp getback,4 jz mainloop call titles + + cmp quitrequested, 0 + jnz exitgame + call credits -playgame: call clearchanges +playgame: + cmp quitrequested, 0 + jnz exitgame + call clearchanges call setmode call loadpalfromiff mov location,255 @@ -196,9 +207,8 @@ alreadyloaded: mov newlocation,255 mainloop: cmp quitrequested, 0 - jz $1 - ret -$1: + jnz exitgame + call screenupdate cmp wongame,0 jnz endofgame @@ -240,7 +250,9 @@ endofgame: call clearbeforeload call hangon call endgame jmp quickquit2 - + +exitgame: + ret endp |