![]()  | 
Routines | 
| Prev: EFD0 | Up: Map | Next: EFF2 | 
| 
 | 
||||
| 
 
The player wants to take the cloak from the dead body, which is a bit creepy. Check which version of the cloak is in the current room.
 
 | 
||||
| Process_TakeCloakFromBody | EFE4 | LD A,$62 | Call ValidateItemPresent with item 62: "The body of a young man,in a white cloak,trapped by charred fallen timbers". | |
| EFE6 | CALL ValidateItemPresent | |||
| 
 
Allow the player to take the cloak from the dead man who can't really complain about it.
 
 | 
||||
| EFE9 | JP Z,Process_GetCloak | Jump to Process_GetCloak if the version of the cloak is "The body of a young man,in a white cloak,trapped by charred fallen timbers". | ||
| 
 
Else respond that there is no cloak on the body.
 
Print "The body does not have a cloak.".
 
 | 
||||
| EFEC | LD HL,$D308 | HL=Messaging_BodyDoesNotHaveCloak. | ||
| EFEF | JP PrintStringAndNewline_Duplicate | Jump to PrintStringAndNewline_Duplicate. | ||
| Prev: EFD0 | Up: Map | Next: EFF2 |