Alien (BUGFIX 1.7)
Routines
Address
Description
31369
DrawSpriteRow
31393
NextScanLine
31417
InitGameView
31562
Orders-screen crew-name row
31577
Orders-menu build, lower part
31612
FillAttrColumn
31626
DrawNextCorridorTile
31634
DrawSprite
31690
PrintName
31721
SelectSlotByDrawIdx
31759
BuildExitList
31796
BuildRoomItemList
31820
RefreshHeldItems
31823
FindHeldItems
31857
ItemIdToString
31915
BuildItemMenu
31964
DrawRoomSpecials
32143
DrawRoomTitle
32385
DrawCrewCondition
32498
FindRoomMates
32536
DrawRoomMates
32670
BlankRestOfRow
32684
ResetActionMenu
32719
RedrawRoomScene
32816
DrawSelectedName — the menu column's name row and colour bands
32967
RedrawRoomView
32981
PickDuctMap
33153
RleMapExpand
33178
SetRoomOrigin
33223
DrawDoorArm
33275
ArmStraight
33395
ClearRoomAttrs
33421
BuildDuctExitList
33479
ClearTextWindow
33500
DrawCrewPortrait
33589
AdvanceScriptPtr
33600
ResetScriptPtr
33610
Prefix a dead room-mate's name with "Body of "
33644
NarcissusBackground — the shuttle's view background
34636
ScanInput — read the selected input device
34640
DefaultKeyScanner
34684
HandleInput
34743
AdvanceCursor
34859
UnhighlightMenuRow
34882
HighlightMenuRow
34920
GetMenuRowAttrAddr
34933
UpdateRoomMarkerB
34967
AnimateCrewA
35016
AnimateCrewB
35065
XorBlitMarker
35088
GetRoomMarkerAddr
35101
PlaceRoomMarkerA
35128
PlaceRoomMarkerB
35146
EraseRoomMarkerB
35163
OpenCrewRoomView — orders-screen rows 1-7 (the crew names)
35210
SelectDeckMap — orders-screen rows 12-14 ("Upper Deck"/"MiddleDeck"/ "Lower Deck"): redraw the map pane to show that deck. The cursor row minus 12 is exactly the deck's layout type (0/1/2), which is stored as RoomTypeByte and handed to the map-pane drawer at
31267
.
35222
IndicateLocation — orders-screen row 8 (" Indicate "/" Location ")
35228
IndicateLocationPage2
35290
DrawLocationList
35314
RoomModeDispatch
35338
LocationListAction — action key in the room-location list (modes 2/3)
35382
MoveToRoom — action on a "move to:" destination row (2-6): set the actor's destination room from the row's value; in the ducts the destination comes from RoomAdjDucts by direction slot instead.
35440
QuitRoomView
35448
No-op room-action handler
35449
No-op room-action handler (second copy)
35451
SwapHeldItems
35560
MoveThroughGrille
35578
GetItemPick
35638
GetItemMenu
35725
LeaveItemHandler
35787
SpecialRowJump
35790
SpecialRowNormal
35814
SetActionTimer
35973
ResetCrewTimers — per-frame crew action-countdown walk
36014
DispatchCrewAction
36034
CrewAction1_Arrive — complete a move (action state 1)
36101
CrewAction2_DuctTransit — climb through a grille (action state 2)
36150
CrewAction3_RemoveGrille
36187
RecalcMorale — find room-mates and recompute the trio's morale
36283
MoraleFromCompanion — morale = courage + companion effects
36428
DecayCrewCourage — everyone loses a point of courage and morale
36448
BusyWait
36457
GameEntry
36579
PreActionCheck — permission gate before a crew action fires
36717
PickNextRoom
36763
ScriptNibbleToDirection
36793
RefreshRoomInfo
36859
UpdateJones
37018
UpdateAlienAI — give the idle alien its next action
37176
EnqueueMessage
37221
RenderMessage
37322
ClearMessageRow
37363
TickMessageQueue
37490
Overlap bytes shared with TickMessageQueue
37493
StartAttack
37520
CrewAction4_Handler
37584
CrewHitsAlien
37876
GatherSameRoomSlots
37924
DestroyFrontItem
37944
UpdateHandRows
37992
AlienScareCheck — will the alien flee the fight?
38182
AddAlienRoomDamage
38317
DamageOverflowFlash — the hull gives way
38379
UpdateRoomActors — per-frame ship-simulation driver
38398
FixtureAction
38454
DestructArm
38483
DestructAbort
38529
HypersleepStart
38546
FightFire — action on the fire label (cell value 76)
38575
FightFireSquirt
38588
SealLock
38617
SealLock1
38645
BlowLock
38674
BlowLock1
38784
CrewAction6_Handler — hypersleep completed (action state 6)
38903
FindTrackerHolders — run the motion-tracker scan
38941
TrackerHolderRoom — sweep the rooms around one tracker holder
39000
PickRoom_ActorScan — tail of the tracker sweep
39041
EngineStateScan — tick the three engine-room fires
39077
FireDamageTick — one burning engine room (E), fire bit in D
39159
FireSpreadCheck
39171
ViewedTrackerCheck — sound the viewed crew member's detector
39213
TrackerBeepTick
39228
JonesUneasyMsg
39242
RomBeep
39256
CrewAction5_AlienAttack — the alien's attack tick (action state 5)
39365
WoundMsg
39400
VictimItemDrop — a victim collapses
39531
OxygenTick — the oxygen clock
39572
OxygenCheckRedraw — oxygen alarms + the bottom status line
39655
InitJonesAnim
39670
TriggerJonesAnim
39687
ResetAlienXAnim
39695
TriggerAlienXAnim
39718
UpdateAlienAnim
39764
BlitAlienFrame
39830
AnimJones
39832
BlitJonesFrame
40007
AdvanceJonesPos
40040
BlitJonesShifted
40149
ClearAlienArea
40212
LaunchGate
40281
LaunchSequence — the Narcissus lifts off
40319
FrameTiming
40418
PlayNoteByIndex
40439
PlayMusicPhrase
40757
CrewAction7_Handler — the Android's attack tick (action state 7)
40826
UpdateAndroid
40941
CrewHitsAndroid
41264
TriggerAlienEvent — arm the Android once the alien is hurt
42276
LongGameInit
42501
ClearDisplay
42515
FillAttributes
42581
DrawIntroScreen
42821
GameModeScreen — crew roster + game-mode menu
43216
HighlightGameMode
43242
IntroductionMode
43610
OptionsScreen — the input-device menu
44041
KeyboardScanner — the (redefinable) keyboard input device
44093
WaitKeyPress — wait for any key and identify it
44109
WaitKeyRelease — wait until no key is pressed anywhere
44125
EndgameScreen — every way the game can end
44313
CheckCrewAlive — the per-frame crew-extinction gate
44339
PrintAlienKilled
44354
PrintDeadRoster
44428
PrintAndroidReveal
44452
PrintRating
44509
PrintStr
44524
DamageGameOver
44561
ScreenTransition
44591
WaitKeyPrompt
44651
ComputeRating — the crew term of the Competence Rating
44698
CountRoomDamage — the ship-condition term of the Competence Rating
44722
OxygenScore — the oxygen term of the Competence Rating
44738
ShortGameInit
44815
PauseMenu
44880
PlayMusic
44924
PostCombatReset
44938
DestroyHeldItem
44986
ClearHandCache
44996
AttackRowGate
45019
AlienInfoCheck
45080
AndroidInfoCheck
45125
AndroidRowGate
45148
RefreshGrilleRow
45207
ResetRatingDigits
45216
RatingHundred
45222
ResetMsgAndScript
45232
ActionTimerFire
45240
RefreshSpecialRow
45269
SpecialRowAttack
45278
CursorGrilleToAttack
45290
MaskToRomAddr — mask an address into ROM range
45295
PickupItemBoost
45338
RefreshCrewCondition
45366
IncPairAt
45373
RefreshCondIfViewed
45401
UpdateAllCrew — pairwise companion morale support
45470
NextSlotIX
45476
KillActorRefresh
45510
BumpCourageMorale
45533
SetCourageRefresh
45539
DecayMoraleStep — tail of the DecayCrewCourage loop
45585
KillActorMoraleHit — mark a victim dead and shake the witnesses
45642
WitnessMoraleLoss
45676
KillActor_Bounce
45683
DuctSearchInit
45692
PrintNameThenPanel
45705
RoomRejectCheck
45721
AIActionSelect
45732
AlienEventDispatch
45753
PreDispatchHook
45760
ForceAttackRowIfHostile
45830
SpecialRowAction
45846
CancelActionTimer