source/page7B/initial.asm
changeset 38 a4c5f839b738
parent 28 55da9f386e8e
child 40 ba7bd14b7d7b
--- a/source/page7B/initial.asm	Thu May 15 01:54:30 2014 -0400
+++ b/source/page7B/initial.asm	Thu May 15 05:17:30 2014 -0400
@@ -1107,13 +1107,13 @@
 
 DialogKeyHook:
 		add		a, e
-		res		1, (iy+28h)
-		res		2, (iy+28h)
+		res		appIgnoreKey, (iy+APIFlg)
+		res		sendKeyStraightTocxMain, (iy+APIFlg)
 		bit		appAllowContext, (iy+APIFlg)
 		ret		nz
 		call	isContextKey
 		ret		nz
-		set		1, (iy+28h)
+		set		appIgnoreKey, (iy+APIFlg)
 		ret
 
 ; =============== S U B	R O U T	I N E =======================================
@@ -1849,7 +1849,7 @@
 		jr		z, p7Bloc_5AD9
 		push	hl
 		dec		hl
-		call	page0_172F
+		call	isPtrHLA2ByteTok
 		pop		hl
 		jr		nz, p7Bloc_5AD9
 		dec		hl
@@ -6012,7 +6012,7 @@
 		res		monAbandon, (iy+monFlags)
 		res		nocxPutAway, (iy+contextFlags)
 		ld		a, 58h ; 'X'
-		jp		page0_5C2
+		jp		Mon_SwitchToStandardContext
 ; ---------------------------------------------------------------------------
 
 p7Bloc_7088:
@@ -7108,12 +7108,12 @@
 ; ---------------------------------------------------------------------------
 
 SetIgnoreKey:
-		set		1, (iy+28h)
+		set		appIgnoreKey, (iy+APIFlg)
 		ret
 ; ---------------------------------------------------------------------------
 
 SetSendThisKeyBack:
-		set		2, (iy+28h)
+		set		sendKeyStraightTocxMain, (iy+APIFlg)
 		ld		(kbdKey), a
 		ret
 GetHookByte: