00D4: Camera control
Set parameter 0x9 for this sprite category.
Sprite memory
  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00
Control code
X location
Y location
10
20
Mode
30
40
Camera index
Horizontal range
Vertical range
50
Parameter

Description
$00 Control code
Type: ushort
Relative address for array pointer of sprite assembly. It is $00D4 for camera control.

$2E Mode
Type: ushort
Specify sprite mode.
Value Type
0
Switching hidden camera
Non-0
Scrolling control

$42 Camera index
Type: ushort
Specify the camera index this sprite will affect.
Camera index is the serial number of level camera. You can check it on the inspector of sdk2Editor or SGM2.

$44 Horizontal range
Type: (byte, byte)
Set the range that this sprite will be activated.
Whan the Kong enters the area defined by the variable $44 and $46, this sprite starts additional control.

$46 Vertical range
Type: (byte, byte)
Set the range that this sprite will be activated.
Whan the Kong enters the area defined by the variable $44 and $46, this sprite starts additional control.

Explanation
This sprite works to suppress or prohibit scrolling of the camera in cooperation with level camera data.
In mode 0, this sprite will affect to the camera which is set the flag "P2" (hidden camera) and switch this flag.
In mode 1, this sprite will affect to the camera which is set the flag "P1" (prohibit scrolling) and switch this flag. This enables dynamic switching of scroll prohibition state.
Both operate to the camera specified by the variable $42, so you need to change this variable as necessary to make sure it works properly.