Changes
Jump to navigation
Jump to search
no edit summary
* Opcode: '''0x45'''
* Short name: '''MPu'''
* Long name: MP Up
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x45
! width="40" | ''B''
! width="40" | ''P''
! width="40" | ''V''
|}
==== Arguments ====
* '''const UByte''' ''B'': Bank to retrieve value for increasing, or zero if the amount is specified by a constant in ''V''.
* '''const UByte''' ''P'': Party member to whose MP will increase (0 to 2).
* '''const UShort''' ''V'': Value to increase MP by, or address to retrieve value from if ''B'' is non-zero.
==== Description ====
Increases the MP of the party member specified by ''P'' by the amount ''V''. If ''B'' is non-zero, then the value to increase by is retrieved from bank ''B'' and address ''V''.
* Short name: '''MPu'''
* Long name: MP Up
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x45
! width="40" | ''B''
! width="40" | ''P''
! width="40" | ''V''
|}
==== Arguments ====
* '''const UByte''' ''B'': Bank to retrieve value for increasing, or zero if the amount is specified by a constant in ''V''.
* '''const UByte''' ''P'': Party member to whose MP will increase (0 to 2).
* '''const UShort''' ''V'': Value to increase MP by, or address to retrieve value from if ''B'' is non-zero.
==== Description ====
Increases the MP of the party member specified by ''P'' by the amount ''V''. If ''B'' is non-zero, then the value to increase by is retrieved from bank ''B'' and address ''V''.