Changes

Jump to navigation Jump to search

FF7/Field/Script/Opcodes/2B SLIP

1,025 bytes added, 06:04, 26 August 2006
no edit summary
* Opcode: '''0x2B'''
* Short name: '''SLIP'''
* Long name: Slipability

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

==== Arguments ====
* '''const UByte''' ''S'': On/off switch (0/1, respectively).

==== Description ====
If SLIP is set to off, the player will be unable to let the playable character run ''against'' and ''along'' the wall by pressing two buttons together. For example, if there is a wall beyond the character running left-to-right, and the character presses up and right together, the character will normally run to the right along the wall. If SLIP is off, the character will stop moving until the player presses right by itself; the combination of up and right together is disallowed. This is sometimes used in areas such as shops.

This should be used in combination with a [[FF7/Field/Script/Opcodes/D0 LINE|LINE]] to specify the line along which the player may not 'slip'.

Navigation menu