Routines
Address
Description
29344
Game Start Alias
43691
Game Restart
43699
Game Start
43825
Initialise Entity Data
43894
Initialise Entity Defaults
43925
Update Berk State
44260
Start Berk Script
44359
Reset Text Position
44399
Print Menu Strings
44440
Clear Messaging Attributes
44449
Update Timed Events
44748
Handle Berk Action
44801
Initialise Room Display
44860
Initialise New Game
44927
Check Task Completion
44969
Backup Entity And Game State
45020
Script Routine: (27) Animate trap door / update Berk interaction
45086
Reset Trap Door Animation State
45108
Update Drutt
45422
Update Drutt Animation
45481
Process Falling Entities
45539
Advance Falling Entity
45598
Process Rising Entities
45656
Process Special Entity Flags
45738
Update Entity Slot
46106
Update Berk Controller
46144
Update Berk: Read Controls
47009
Berk Read Controls: Down Branches
47091
Berk Interact With Entity
47228
Berk Pick Up Entity
47404
Berk Put Down Entity
48146
Update Thing Upstairs Entity
48175
Update Thing Upstairs Entity State
48182
Script Routine: (49) Thing Upstairs action
48197
Script Routine: (50) Thing Upstairs action
48212
Script Routine: (53) Thing Upstairs action
48228
Script Routine: (51) Thing Upstairs action
48257
Script Routine: (52) Thing Upstairs action
48444
Update Thing Upstairs Movement
48498
Test Thing Upstairs Overlap
48845
Update Task Two Entities
48870
Update Task Two Entity State
49015
Script Routine: (40) Task-two entity action
49039
Script Routine: (36) Task-two entity action
49087
Script Routine: (41) Task-two entity action
49130
Script Routine: (37) Task-two entity action
49152
Script Routine: (38) Task-two entity action
49191
Script Routine: (39) Task-two entity action
49262
Spawn Task Entity
49301
Update Task Helper Entities
50040
Update Task Three Entities
50098
Update Task Three Entity State
50135
Script Routine: (48) Task-three entity action
50143
Script Routine: (43) Task-three entity action
50243
Script Routine: (45) Task-three entity action
50518
Update Slimy Creature
50536
Script Routine: (47) Task-three entity action
50562
Script Routine: (46) Task-three entity action
50678
Script Routine: (44) Slimy-creature action
50690
Script Routine: (42) Cauldron / heater action
50701
Update Cauldron
50741
Update Heater
50747
Update Stove
50780
Update Task Three Helpers
51879
Update Task Four Entities
51908
Update Task Four Entity State
51952
Script Routine: (80) Task-four entity action
51966
Script Routine: (72) Task-four entity action
51998
Script Routine: (79) Task-four entity action
52036
Script Routine: (75) Task-four entity action
52163
Script Routine: (78) Task-four entity action
52174
Script Routine: (77) Task-four entity action
52307
Script Routine: (73) Task-four entity action
52344
Script Routine: (74) Task-four entity action
52363
Script Routine: (76) Task-four entity action
52811
Update Ghosts
52961
Update Plant Pots
53022
Update Crusher
53047
Update Miscellaneous Entities
53266
Update Vat
53312
Update Vat: Event And Direction
53356
Script Routine: (71) Vat action
53364
Script Routine: (62) Vat action
53587
Script Routine: (67) Vat action
53676
Script Routine: (64) Vat shift right when clear above
53693
Script Routine: (63) Vat action
53708
Script Routine: (69) Vat action
53717
Script Routine: (66) Vat action
53734
Script Routine: (65) Vat action
53749
Script Routine: (68) Vat action
53758
Script Routine: (70) Vat action
54342
Check Entity Collision
54363
Update Collectibles
54414
Collect Entity
54634
Script Routine: (55) Collectible action
54686
Script Routine: (54) Collectible action
54765
Script Routine: (61) Collectible action
54772
Script Routine: (60) Collectible action
54785
Script Routine: (56) Collectible action
54813
Script Routine: (57) Collectible action
54841
Script Routine: (58) Collectible action
54875
Script Routine: (59) Collectible action
55251
Update Bad Tempered Thing Dialogue
55665
Continue Bad Tempered Thing Dialogue
55843
Advance Dialogue Character
55853
Draw Dialogue Character
55899
Clear Dialogue Area
56739
Print Too-Late Task Feedback
56857
Print Status Messages
56913
Print Message By Index
56919
Print Message String
57269
Print Death Message
57309
Print Task Progress Intro
57331
Print Wages Message
57950
Select Task Progress Message
57990
Print Encoded Message
58105
Skip To Message Marker
58112
Paint Message Buffer
58186
Centre And Draw Message Row
58230
Draw Message Character
58311
Plot Message Glyph Half
59099
Populate Display Buffer For Visible Entities
59165
Process Graphic Layout Data For Entity
59195
Advance Graphic Layout Pointer By Two Bytes And Process
59199
Process Graphic Layout Data
59323
Jump Graphic Layout Routine
59385
Graphic Layout Routine: (238) Start Loop
59400
Graphic Layout Routine: (239) End Loop
59417
Graphic Layout: Random Address Jump
59436
Graphic Layout Routine: (240) Set New Pending Sound
59445
Graphic Layout Routine: (242) Set Current Attribute
59454
Graphic Layout Routine: (244) Set Current Graphic Set Index
59463
Graphic Layout Routine: (245) Set Next Graphic Index From Random List
59494
Graphic Layout Routine: (255) Load Stored Coordinates And Return
59502
Graphic Layout Routine: (250) Adjust Coordinates Without Storing
59515
Graphic Layout Routine: (254) Adjust Coordinates And Store
59531
Graphic Layout Routine: (251) Process Nested Graphic Layout Data
59550
Graphic Layout Routine: (248) Jump To Graphic Layout Address
59562
Graphic Layout Routine: (249) Jump To Time-Weighted Random Address
59624
Graphic Layout Routine: (243) Increment Index And Jump To N-th Address
59657
Graphic Layout Routine: (247) Timer-Based Random Graphic Index
59715
Graphic Layout Routine: (246) Jump To Randomly Selected Address
59732
Graphic Layout Routine: (253) Jump Using Carried-Entity Width
59737
Graphic Layout Routine: (252) Conditional Jump Or Skip
59793
Blit Display Buffer To Screen
59887
Blit Display Buffer Row
59964
Clear Both Display Buffers
59972
Clear Display Buffer
59986
Clear Attribute File
60013
Set Border And Speaker State
60019
Reposition Camera-Follow Entity After Interaction
60133
Generate Pseudo-Random Number
60192
Print Score Digits
60225
Print Digit
60263
Print Character
60462
Advance
HL
To Next Script Instruction And Execute
60499
Script Routine: (33) Start script loop with count
60513
Script Routine: (34) End script loop
60530
Script Routine: (30) Have Berk interact with a door in front of him
60592
Script Routine: (32) Have Berk open a door in front of him
60635
Script Routine: (31) Have Berk interact with a door behind him
60879
Script Routine: (28) Close Trap Door
60885
Script Routine: (26) Open Trap Door
60891
Close Trap Door
60920
Open Trap Door
60976
Check Entities Near Trap Door
61202
Script Routine: (23) Move held entity up one room row
61224
Script: Set Entity Latch
61234
Script Routine: (24) Start loop
61268
Script Routine: (10) Reset entity direction flags
61275
Script Routine: (11) Set entity facing right
61282
Script Routine: (12) Set entity facing left
61289
Script Routine: (13) Set entity facing up
61296
Script Routine: (14) Set entity facing down
61303
Script: Jump If Carrying
61314
Script: Load Script Pointer
61324
Script Routine: (2) Move entity left one character
61361
Script Routine: (3) Move entity right one character
61460
Script Routine: (4) Move entity up one character
61545
Script Routine: (5) Move entity down one character
61639
Script Routine: (6) Move entity left two characters
61646
Script Routine: (7) Move entity right two characters
61653
Script Routine: (9) Move entity down two characters
61660
Script Routine: (8) Move entity up two characters
61667
Script Routine: (15) Have entity put down carried entity
61758
Script Routine: (20) Have entity pick up / restore held entity state
61798
Script Routine: (16) Have entity face left after putting down
61811
Script Routine: (17) Have entity face right after putting down
61857
Script Routine: (18) Position put-down entity to the left
61879
Script Routine: (19) Position put-down entity to the right
61919
Script Routine: (22) Start Drutt script
61939
Update Camera Follow
62031
Script Routine: (25) Continue To Next Instruction
62034
Clamp Camera Position
62043
Adjust Camera X
62047
Adjust Camera Y
62141
Test Entity Overlap (Allow Special)
62146
Test Entity Overlap
62151
Test Entity Overlap At Depth
62250
Test Entity On Left
62254
Test Entity On Right
62349
Test Entity Above
62353
Test Entity Below
62447
Display And Handle Main Menu
62525
Main Menu: Choose Learner Or Super Berk
62548
Draw Menu Background
62571
Print Controls Menu
62749
Main Menu Select Options
62917
Print Control Key Labels (Short)
62922
Print Control Key Labels
62954
Pulse Menu Timing
62979
Read Player Controls
63040
Read Keyboard Controls
63142
Update High Score Display
63190
Draw Main Menu Logo
63242
Colour-Cycle Main Menu Logo
63737
Queue Sound
63919
Play Queued Sound
64620
Seed Menu Music And Wait For Key
64632
Wait For Key With Menu Music
64656
Read Music Stream Byte
64669
Decode Music Delay
64683
Reload Music Stream Cursor
64691
Play Menu Music Tick
64784
Play Menu Music Pulse Tail
64802
Hold Menu Music Silence
64886
Continue Menu Music Tick
64921
Build Music Delay Count
64942
Pulse Menu Music Speaker
65003
Play Menu Music Coda
65034
Sound Coda Beep