Prev: 41345 Up: Map Next: 41396
41386: Negate Word
Negates the word in HL. Nothing in the game calls it.
Input
HL Word to negate
Output
HL The negated word
Negate the word in HL. Nothing in the game calls this.
NegateWord 41386 PUSH DE Nothing in the game uses this negated word.
41387 EX DE,HL
41388 LD HL,0
41391 AND A
41392 SBC HL,DE
41394 POP DE Restore DE from the stack.
41395 RET Return.
Prev: 41345 Up: Map Next: 41396