Marsport | Routines |
Prev: B63B | Up: Map | Next: B65F |
Used by the routines at Warning_Sept, _85f4, Warning_Herald, _8ac9_Enter, Entry_8f00, AB25, Obj_Take and Obj_Drop.
|
||||
Print_WarningCentered | B644 | POP HL | ||
B645 | PUSH HL | |||
B646 | LD BC,$001B | Calculate X pos, so that text is centered. | ||
B649 | LD A,$5E | |||
B64B | CPIR | |||
B64D | LD A,C | |||
B64E | SRA A | |||
B650 | ADD A,$03 | |||
B652 | LD ($B65A),A | |||
B655 | CALL Print_WarningMessage | |||
B658 | DEFB $16,$01,$00,$5E | AT 1,x; | ||
B65C | JP Print_StringOnStack |
Prev: B63B | Up: Map | Next: B65F |