| Data

32028: Object/key/cash/message location table

Used by the routines at 30017, 30211 and 31960. Each entry here consists of 4 bytes. The bits in the first byte have the following meanings:
Bit(s) | Meaning
--- | ---
7 | If set, the entry is initially inactive
4-6 | 000: entry corresponds to a cash bonus
001: entry corresponds to a key
010: entry corresponds to a message
100: entry corresponds to an object that must be picked up (hook or budgie)
1-3 | Unused
0 | If set, the entry is inactive
The second and third bytes contain the coordinates of the object. The contents of the fourth byte depend on the type of object; see the individual entry for details. The first entry in this table is for the hook. It is active from the beginning of the game, deactivated (by the routine at 30211) when the hook is picked up, and reactivated (by the routine at 31670) after the hook has been thrown and finished flying.
32028 | DEFB 64 | Bit 6 set: object that must be picked up
32029 | DEFB 51,13 | Location (top floor of no. 74)
32031 | DEFB 64 | Bit 6 set (see 32745)
The next entry is for the budgie. It is activated by the routine at 29952 (using the event entry at 24727), and deactivated (by the routine at 30211) when the budgie is picked up.
32032 | DEFB 193 | Bit 6 set: object that must be picked up
32033 | DEFB 225,13 | Location (room above Sam's office)
32035 | DEFB 128 | Bit 7 set (see 32745)
The next entry is for the key to no. 74. It is activated by the routine at 29952 (using the event entry at 24666), and deactivated (by the routine at 30211) when the key is found.
32036 | DEFB 145 | Bit 4 set: key
32037 | DEFB 34,13 | Location (in the room past the catwalk)
32039 | DEFB 8 | Bit 3 set (see 32746)
The next entry is for the key to no. 31. It is active from the beginning of the game, and deactivated (by the routine at 30211) when the key is found.
32040 | DEFB 16 | Bit 4 set: key
32041 | DEFB 252,13 | Location (top floor of no. 15)
32043 | DEFB 16 | Bit 4 set (see 32746)
The next entry is for the key to no. 27. It is activated by the routine at 29952 (using the event entry at 24716), and deactivated (by the routine at 30211) when the key is found.
32044 | DEFB 145 | Bit 4 set: key
32045 | DEFB 170,35 | Location (middle of the road next to no. 27)
32047 | DEFB 32 | Bit 5 set (see 32746)
The next entry is for the key to no. 15. It is active from the beginning of the game, and deactivated (by the routine at 30211) when the key is found.
32048 | DEFB 16 | Bit 4 set: key
32049 | DEFB 106,25 | Location (second floor of no. 31)
32051 | DEFB 64 | Bit 6 set (see 32746)
The next entry is for the dead man's body on the top floor of the hotel. It is active from the beginning of the game, and deactivated (by the routine at 30211) when Sam finds the body.
32052 | DEFB 32 | Bit 5 set: message
32053 | DEFB 64,7 | Location (top floor of the hotel)
32055 | DEFB 53 | Message 53: 'THERE'S A MAN'S BODY ON THE FLOOR'
The next entry is for where someone growls 'NO KEY EH!'. It is active from the beginning of the game, and deactivated by the routine at 29952 (using the event entry at 24586).
32056 | DEFB 32 | Bit 5 set: message
32057 | DEFB 249,27 | Location (stairs up to the second floor of no. 15)
32059 | DEFB 61 | Message 61: 'SOMEONE GROWLED 'NO KEY EH!''
The next entry is for where there's a safe with four locks. It is active from the beginning of the game, and deactivated (by the routine at 30211) when Sam finds the safe.
32060 | DEFB 32 | Bit 5 set: message
32061 | DEFB 228,13 | Location (room above Sam's office)
32063 | DEFB 71 | Message 71: 'THERES A SAFE WITH 4 LOCKS'
The next entry is for where someone below says 'CRUISE WAS DRESSED AS THE OIL MAN...'. It is deactivated (by the routine at 30211) when Sam is halfway across the rope, and checked by the routine at 29952 (using the event entry at 24558).
32064 | DEFB 32 | Bit 5 set: message
32065 | DEFB 214,6 | Location (on the rope above no. 19)
32067 | DEFB 70 | Message 70: 'SOMEONE BELOW SAID 'CRUISE WAS DRESSED AS THE OIL MAN. DONT LET ANYONE PAST''
The next entry is for the cash bonus on the top floor of the hotel. It is deactivated (by the routine at 30211) when Sam finds the money.
32068 | DEFB 0 | Bits 4-6 reset: cash
32069 | DEFB 58,7 | Location
32071 | DEFB 100 | $100
The next entry is for the cash bonus on the first floor of no. 19. It is deactivated (by the routine at 30211) when Sam finds the money.
32072 | DEFB 0 | Bits 4-6 reset: cash
32073 | DEFB 220,31 | Location
32075 | DEFB 50 | $50
The next entry is for the cash bonus on the second floor of no. 15. It is deactivated (by the routine at 30211) when Sam finds the money.
32076 | DEFB 0 | Bits 4-6 reset: cash
32077 | DEFB 242,25 | Location
32079 | DEFB 100 | $100
The next entry is for the cash bonus on the top floor of no. 74. It is deactivated (by the routine at 30211) when Sam finds the money.
32080 | DEFB 0 | Bits 4-6 reset: cash
32081 | DEFB 40,13 | Location
32083 | DEFB 100 | $100
The last entry is for the cash bonus in the room above Sam's office. It is deactivated (by the routine at 30211) when Sam finds the money.
32084 | DEFB 0 | Bits 4-6 reset: cash
32085 | DEFB 226,13 | Location
32087 | DEFB 200 | $200
And finally the end marker.
32088 | DEFB 255 |