Anonymous

Changes

From Final Fantasy Inside

FF7/Field/Script/Opcodes/3A GOLDd

906 bytes added, 01:36, 8 September 2006
no edit summary
* Opcode: '''0x3A'''
* Short name: '''GOLDd'''
* Long name: Gil Down

==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x3A
! width="40" | ''0''
! width="160" | ''A''
|}


{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x3A
! width="40" | ''B''
! width="40" | ''A''
! width="120" | ''0''
|}

==== Arguments ====

Decrease by a constant amount:

* '''const UByte''' ''0'': Zero.
* '''const ULong''' ''A'': Amount to increase.

Decrease by an amount found in memory:

* '''const UByte''' ''B'': Source bank.
* '''const UByte''' ''A'': Source address.
* '''const UByte[3]''' ''0'': Three zero bytes.

==== Description ====

Decreases the amount of gil by a constant amount, or by an amount found in the source bank ''B'' and address ''A''.