It never registered the key presses via the 197124 or 192004 cases, but using the %x in a FormatPrint instead of %d, shows that they should be $4B00 and $4D00.
Looking at the keys.sh file
(define KEY_NUMPAD4 $4B00)
(define KEY_NUMPAD6 $4D00)
(define KEY_LEFT $4B00)
(define KEY_RIGHT $4D00)
It explains why using the key numpad values did return a response when I pressed an arrow key, since those sets of keys are equivalent, at least after I quit mapping keys to directions. Strange though that using the Joystick Directions never triggered. Oh well, my problem is now officially solved, I can go about programming this sequence now.
So here it is, my starting point. Just marking the keypress of the left and right arrows, and marking all other events as claimed. FYI, even with handsOff, the game still registers the key presses.
//*****************************************************************************
(version 2) // Ulence Flats - Skimmer
//*****************************************************************************
(include "sci.sh")(include "game.sh")(include "94.shm") (script 94)
//*****************************************************************************
(exports
0 rm094
)
//*****************************************************************************
(use "Cycle")(use "Feature")(use "Game")(use "Main")(use "Obj")(use "View")
(use "Print")
//*****************************************************************************
(instance public rm094 of Rm
(properties
picture scriptNumber
)
(method (init)
(super:init())
(send gOldKH:addToFront(self))
(send gOldMH:addToFront(self))
(send gIconBar:disable())
(send gUser:mapKeyToDir(FALSE))
(send gGame:handsOff())
)// end method
(method (handleEvent pEvent)
(var myEventType,myEventMessage)
= myEventType (send pEvent:type)
= myEventMessage (send pEvent:message)
(switch (myEventMessage)
(case KEY_6 (Print:addText("Right Arrow, Numpad, numLock On")init()))
(case KEY_RIGHT (Print:addText("Right Arrow")init()))
(case KEY_4 (Print:addText("Left Arrow, Numpad, numLock On")init()))
(case KEY_LEFT (Print:addText("Left Arrow")init()))
)
(send pEvent:claimed(TRUE))
)// end method
)