mirror of
https://github.com/n64decomp/sm64.git
synced 2024-11-12 12:25:06 -05:00
292 lines
29 KiB
ArmAsm
292 lines
29 KiB
ArmAsm
script_func_local_1:
|
|
warp_node /*id*/ 0x00, /*destLevel*/ 0x10, /*destArea*/ 0x01, /*destNode*/ 0x00, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x01, /*destLevel*/ 0x10, /*destArea*/ 0x01, /*destNode*/ 0x01, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x02, /*destLevel*/ 0x1A, /*destArea*/ 0x01, /*destNode*/ 0x01, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_CASTLE_STAR_DOOR_8_STARS, /*pos*/ -2706, 512, -1409, /*angle*/ 0, 45, 0, /*behParam*/ 0x08000000, /*beh*/ bhvStarDoor
|
|
object /*model*/ MODEL_CASTLE_STAR_DOOR_8_STARS, /*pos*/ -2598, 512, -1517, /*angle*/ 0, 225, 0, /*behParam*/ 0x08000000, /*beh*/ bhvStarDoor
|
|
object /*model*/ MODEL_CASTLE_KEY_DOOR, /*pos*/ -1100, 512, -1074, /*angle*/ 0, 0, 0, /*behParam*/ 0x01030000, /*beh*/ bhvDoorWarp
|
|
object /*model*/ MODEL_CASTLE_KEY_DOOR, /*pos*/ -946, 512, -1074, /*angle*/ 0, 180, 0, /*behParam*/ 0x01040000, /*beh*/ bhvDoorWarp
|
|
object /*model*/ MODEL_CASTLE_KEY_DOOR, /*pos*/ -1100, -1074, 922, /*angle*/ 0, 0, 0, /*behParam*/ 0x02050000, /*beh*/ bhvDoorWarp
|
|
object /*model*/ MODEL_CASTLE_KEY_DOOR, /*pos*/ -946, -1074, 922, /*angle*/ 0, 180, 0, /*behParam*/ 0x02060000, /*beh*/ bhvDoorWarp
|
|
warp_node /*id*/ 0x03, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x00, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x04, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x01, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x05, /*destLevel*/ 0x06, /*destArea*/ 0x03, /*destNode*/ 0x00, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x06, /*destLevel*/ 0x06, /*destArea*/ 0x03, /*destNode*/ 0x01, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x00, /*destLevel*/ 0x09, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x01, /*destLevel*/ 0x09, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x02, /*destLevel*/ 0x09, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x03, /*destLevel*/ 0x05, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x04, /*destLevel*/ 0x05, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x05, /*destLevel*/ 0x05, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x06, /*destLevel*/ 0x18, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x07, /*destLevel*/ 0x18, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x08, /*destLevel*/ 0x18, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x09, /*destLevel*/ 0x0C, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x0A, /*destLevel*/ 0x0C, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x0B, /*destLevel*/ 0x0C, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ 2013, 768, -2014, /*angle*/ 0, 0, 0, /*behParam*/ 0x000A0000, /*beh*/ bhvWarp
|
|
warp_node /*id*/ 0x0A, /*destLevel*/ 0x1B, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ -5513, 512, -4324, /*angle*/ 0, 0, 0, /*behParam*/ 0x300B0000, /*beh*/ bhvWarp
|
|
warp_node /*id*/ 0x0B, /*destLevel*/ 0x11, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ 1963, 819, 1280, /*angle*/ 0, 0, 0, /*behParam*/ 0x050C0000, /*beh*/ bhvWarp
|
|
warp_node /*id*/ 0x0C, /*destLevel*/ 0x14, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0xF2, /*destLevel*/ 0x1D, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ -1024, 512, -650, /*angle*/ 0, 0, 0, /*behParam*/ 0x001E0000, /*beh*/ bhvWarps60
|
|
object /*model*/ MODEL_NONE, /*pos*/ -1024, -50, 717, /*angle*/ 0, 180, 0, /*behParam*/ 0x001F0000, /*beh*/ bhvWarps60
|
|
object /*model*/ MODEL_NONE, /*pos*/ -1024, 900, 717, /*angle*/ 0, 180, 0, /*behParam*/ 0x00200000, /*beh*/ bhvWarps64
|
|
object /*model*/ MODEL_NONE, /*pos*/ -1024, 900, 717, /*angle*/ 0, 180, 0, /*behParam*/ 0x00210000, /*beh*/ bhvWarps84
|
|
object /*model*/ MODEL_NONE, /*pos*/ -1024, 900, 717, /*angle*/ 0, 180, 0, /*behParam*/ 0x00220000, /*beh*/ bhvWarps68
|
|
object /*model*/ MODEL_NONE, /*pos*/ -1024, 900, 717, /*angle*/ 0, 180, 0, /*behParam*/ 0x00230000, /*beh*/ bhvWarps70
|
|
object /*model*/ MODEL_NONE, /*pos*/ -5513, 512, -4324, /*angle*/ 0, -135, 0, /*behParam*/ 0x00240000, /*beh*/ bhvWarps8C
|
|
object /*model*/ MODEL_NONE, /*pos*/ -5513, 512, -4324, /*angle*/ 0, -135, 0, /*behParam*/ 0x00250000, /*beh*/ bhvWarps90
|
|
object /*model*/ MODEL_NONE, /*pos*/ -1024, 900, 717, /*angle*/ 0, 0, 0, /*behParam*/ 0x00260000, /*beh*/ bhvWarps88
|
|
object /*model*/ MODEL_NONE, /*pos*/ 2816, 1200, -256, /*angle*/ 0, 90, 0, /*behParam*/ 0x00270000, /*beh*/ bhvWarps88
|
|
object /*model*/ MODEL_NONE, /*pos*/ 2816, 1200, -256, /*angle*/ 0, 270, 0, /*behParam*/ 0x00280000, /*beh*/ bhvWarps70
|
|
warp_node /*id*/ 0x1E, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x1E, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x1F, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x1F, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x20, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x20, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x21, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x21, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x22, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x22, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x23, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x23, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x24, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x24, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x25, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x25, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x26, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x26, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x27, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x27, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x28, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x28, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ -5422, 717, -461, /*angle*/ 0, 270, 0, /*behParam*/ 0x00320000, /*beh*/ bhvWarps7C
|
|
object /*model*/ MODEL_NONE, /*pos*/ -2304, 0, -4552, /*angle*/ 0, 180, 0, /*behParam*/ 0x00330000, /*beh*/ bhvWarps7C
|
|
object /*model*/ MODEL_NONE, /*pos*/ 256, 102, -4706, /*angle*/ 0, 180, 0, /*behParam*/ 0x00340000, /*beh*/ bhvWarps7C
|
|
object /*model*/ MODEL_NONE, /*pos*/ 4501, 717, -230, /*angle*/ 0, 90, 0, /*behParam*/ 0x00350000, /*beh*/ bhvWarps7C
|
|
warp_node /*id*/ 0x32, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x32, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x33, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x33, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x34, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x34, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x35, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x35, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ -5422, 717, -461, /*angle*/ 0, 270, 0, /*behParam*/ 0x00640000, /*beh*/ bhvWarps80
|
|
object /*model*/ MODEL_NONE, /*pos*/ -2304, 0, -4552, /*angle*/ 0, 180, 0, /*behParam*/ 0x00650000, /*beh*/ bhvWarps80
|
|
object /*model*/ MODEL_NONE, /*pos*/ 256, 102, -4706, /*angle*/ 0, 180, 0, /*behParam*/ 0x00660000, /*beh*/ bhvWarps80
|
|
object /*model*/ MODEL_NONE, /*pos*/ 4501, 717, -230, /*angle*/ 0, 90, 0, /*behParam*/ 0x00670000, /*beh*/ bhvWarps80
|
|
warp_node /*id*/ 0x64, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x64, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x65, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x65, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x66, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x66, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x67, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x67, /*unk6*/ 0x0000
|
|
return
|
|
|
|
script_func_local_2:
|
|
object /*model*/ MODEL_CASTLE_KEY_DOOR, /*pos*/ -1100, 512, 3021, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvDoorWarp
|
|
object /*model*/ MODEL_CASTLE_KEY_DOOR, /*pos*/ -946, 512, 3021, /*angle*/ 0, 180, 0, /*behParam*/ 0x00010000, /*beh*/ bhvDoorWarp
|
|
warp_node /*id*/ 0x00, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x03, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x01, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x04, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_CASTLE_STAR_DOOR_50_STARS, /*pos*/ -281, 2253, 4762, /*angle*/ 0, 0, 0, /*behParam*/ 0x32000000, /*beh*/ bhvStarDoor
|
|
object /*model*/ MODEL_CASTLE_STAR_DOOR_50_STARS, /*pos*/ -127, 2253, 4762, /*angle*/ 0, 180, 0, /*behParam*/ 0x32000000, /*beh*/ bhvStarDoor
|
|
object /*model*/ MODEL_CASTLE_STAR_DOOR_70_STARS, /*pos*/ -281, 3174, 3772, /*angle*/ 0, 0, 0, /*behParam*/ 0x46000000, /*beh*/ bhvStarDoor
|
|
object /*model*/ MODEL_CASTLE_STAR_DOOR_70_STARS, /*pos*/ -127, 3174, 3772, /*angle*/ 0, 180, 0, /*behParam*/ 0x46000000, /*beh*/ bhvStarDoor
|
|
painting_warp_node /*id*/ 0x18, /*destLevel*/ 0x0B, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x19, /*destLevel*/ 0x0B, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x1A, /*destLevel*/ 0x0B, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x1B, /*destLevel*/ 0x0D, /*destArea*/ 0x02, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x1C, /*destLevel*/ 0x0D, /*destArea*/ 0x02, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x1D, /*destLevel*/ 0x0D, /*destArea*/ 0x02, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x1E, /*destLevel*/ 0x24, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x1F, /*destLevel*/ 0x24, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x20, /*destLevel*/ 0x24, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x21, /*destLevel*/ 0x0E, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x22, /*destLevel*/ 0x0E, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x23, /*destLevel*/ 0x0E, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x24, /*destLevel*/ 0x0A, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x25, /*destLevel*/ 0x0A, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x26, /*destLevel*/ 0x0A, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x27, /*destLevel*/ 0x0D, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x28, /*destLevel*/ 0x0D, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x29, /*destLevel*/ 0x0D, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x2A, /*destLevel*/ 0x0F, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ 3002, 2816, 5886, /*angle*/ 0, 0, 0, /*behParam*/ 0x0F0A0000, /*beh*/ bhvWarp
|
|
warp_node /*id*/ 0x0A, /*destLevel*/ 0x1F, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ -230, 4813, -3352, /*angle*/ 0, 0, 0, /*behParam*/ 0x0F0B0000, /*beh*/ bhvWarp
|
|
warp_node /*id*/ 0x0B, /*destLevel*/ 0x15, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ -659, 1613, -350, /*angle*/ 0, 180, 0, /*behParam*/ 0x00320000, /*beh*/ bhvWarps7C
|
|
object /*model*/ MODEL_NONE, /*pos*/ -4693, 2157, 1828, /*angle*/ 0, 270, 0, /*behParam*/ 0x00330000, /*beh*/ bhvWarps88
|
|
object /*model*/ MODEL_NONE, /*pos*/ -675, 1400, 3870, /*angle*/ 0, 0, 0, /*behParam*/ 0x00340000, /*beh*/ bhvWarps7C
|
|
object /*model*/ MODEL_NONE, /*pos*/ -205, 2918, 7300, /*angle*/ 0, 0, 0, /*behParam*/ 0x00350000, /*beh*/ bhvWarps7C
|
|
object /*model*/ MODEL_NONE, /*pos*/ 3538, 1766, -400, /*angle*/ 0, 180, 0, /*behParam*/ 0x00360000, /*beh*/ bhvWarps7C
|
|
object /*model*/ MODEL_NONE, /*pos*/ -4693, 2157, 1828, /*angle*/ 0, 270, 0, /*behParam*/ 0x00370000, /*beh*/ bhvWarps88
|
|
object /*model*/ MODEL_NONE, /*pos*/ 3002, 2816, 5886, /*angle*/ 0, 90, 0, /*behParam*/ 0x00380000, /*beh*/ bhvWarps8C
|
|
object /*model*/ MODEL_NONE, /*pos*/ -3412, 2816, 5886, /*angle*/ 0, 270, 0, /*behParam*/ 0x003A0000, /*beh*/ bhvWarps8C
|
|
warp_node /*id*/ 0x32, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x32, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x33, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x33, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x34, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x34, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x35, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x35, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x36, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x36, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x37, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x37, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x38, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x38, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x3A, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x3A, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ -659, 1613, -350, /*angle*/ 0, 180, 0, /*behParam*/ 0x00640000, /*beh*/ bhvWarps80
|
|
object /*model*/ MODEL_NONE, /*pos*/ -4693, 2157, 1828, /*angle*/ 0, 270, 0, /*behParam*/ 0x00650000, /*beh*/ bhvWarps70
|
|
object /*model*/ MODEL_NONE, /*pos*/ -675, 1400, 3870, /*angle*/ 0, 0, 0, /*behParam*/ 0x00660000, /*beh*/ bhvWarps80
|
|
object /*model*/ MODEL_NONE, /*pos*/ -205, 2918, 7300, /*angle*/ 0, 0, 0, /*behParam*/ 0x00670000, /*beh*/ bhvWarps80
|
|
object /*model*/ MODEL_NONE, /*pos*/ 3538, 1766, -400, /*angle*/ 0, 180, 0, /*behParam*/ 0x00680000, /*beh*/ bhvWarps80
|
|
object /*model*/ MODEL_NONE, /*pos*/ -4693, 2157, 1828, /*angle*/ 0, 270, 0, /*behParam*/ 0x00690000, /*beh*/ bhvWarps70
|
|
object /*model*/ MODEL_NONE, /*pos*/ -230, 4813, -3352, /*angle*/ 0, 180, 0, /*behParam*/ 0x006B0000, /*beh*/ bhvWarps90
|
|
object /*model*/ MODEL_NONE, /*pos*/ -3412, 2816, 5886, /*angle*/ 0, 270, 0, /*behParam*/ 0x006C0000, /*beh*/ bhvWarps90
|
|
object /*model*/ MODEL_NONE, /*pos*/ 3002, 2816, 5886, /*angle*/ 0, 90, 0, /*behParam*/ 0x006D0000, /*beh*/ bhvWarps90
|
|
warp_node /*id*/ 0x64, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x64, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x65, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x65, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x66, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x66, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x67, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x67, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x68, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x68, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x69, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x69, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x6B, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x6B, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x6C, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x6C, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x6D, /*destLevel*/ 0x06, /*destArea*/ 0x02, /*destNode*/ 0x6D, /*unk6*/ 0x0000
|
|
return
|
|
|
|
script_func_local_3:
|
|
object /*model*/ MODEL_CASTLE_KEY_DOOR, /*pos*/ -1100, -1074, 922, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvDoorWarp
|
|
object /*model*/ MODEL_CASTLE_KEY_DOOR, /*pos*/ -946, -1074, 922, /*angle*/ 0, 180, 0, /*behParam*/ 0x00010000, /*beh*/ bhvDoorWarp
|
|
warp_node /*id*/ 0x00, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x05, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x01, /*destLevel*/ 0x06, /*destArea*/ 0x01, /*destNode*/ 0x06, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x02, /*destLevel*/ 0x10, /*destArea*/ 0x01, /*destNode*/ 0x02, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_CASTLE_STAR_DOOR_30_STARS, /*pos*/ 307, -1074, 2074, /*angle*/ 0, 90, 0, /*behParam*/ 0x1E000000, /*beh*/ bhvStarDoor
|
|
object /*model*/ MODEL_CASTLE_STAR_DOOR_30_STARS, /*pos*/ 307, -1074, 1920, /*angle*/ 0, 270, 0, /*behParam*/ 0x1E000000, /*beh*/ bhvStarDoor
|
|
painting_warp_node /*id*/ 0x0C, /*destLevel*/ 0x16, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x0D, /*destLevel*/ 0x16, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x0E, /*destLevel*/ 0x16, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x0F, /*destLevel*/ 0x08, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x10, /*destLevel*/ 0x08, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x11, /*destLevel*/ 0x08, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x2A, /*destLevel*/ 0x07, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x15, /*destLevel*/ 0x17, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x16, /*destLevel*/ 0x17, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
painting_warp_node /*id*/ 0x17, /*destLevel*/ 0x17, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ 4147, -1280, 1997, /*angle*/ 0, 0, 0, /*behParam*/ 0x0F180000, /*beh*/ bhvWarp
|
|
warp_node /*id*/ 0x18, /*destLevel*/ 0x13, /*destArea*/ 0x01, /*destNode*/ 0x0A, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ -1382, -819, -4150, /*angle*/ 0, 180, 0, /*behParam*/ 0x00320000, /*beh*/ bhvWarps7C
|
|
object /*model*/ MODEL_NONE, /*pos*/ -2918, -870, -875, /*angle*/ 0, 0, 0, /*behParam*/ 0x00330000, /*beh*/ bhvWarps7C
|
|
object /*model*/ MODEL_NONE, /*pos*/ 2483, -1688, -2662, /*angle*/ 0, 270, 0, /*behParam*/ 0x00340000, /*beh*/ bhvWarps8C
|
|
object /*model*/ MODEL_NONE, /*pos*/ 2381, -500, 2011, /*angle*/ 0, 90, 0, /*behParam*/ 0x00350000, /*beh*/ bhvWarps88
|
|
object /*model*/ MODEL_NONE, /*pos*/ 4147, -1100, 1997, /*angle*/ 0, 90, 0, /*behParam*/ 0x00360000, /*beh*/ bhvWarps8C
|
|
warp_node /*id*/ 0x32, /*destLevel*/ 0x06, /*destArea*/ 0x03, /*destNode*/ 0x32, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x33, /*destLevel*/ 0x06, /*destArea*/ 0x03, /*destNode*/ 0x33, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x34, /*destLevel*/ 0x06, /*destArea*/ 0x03, /*destNode*/ 0x34, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x35, /*destLevel*/ 0x06, /*destArea*/ 0x03, /*destNode*/ 0x35, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x36, /*destLevel*/ 0x06, /*destArea*/ 0x03, /*destNode*/ 0x36, /*unk6*/ 0x0000
|
|
object /*model*/ MODEL_NONE, /*pos*/ -1382, -819, -4150, /*angle*/ 0, 180, 0, /*behParam*/ 0x00640000, /*beh*/ bhvWarps80
|
|
object /*model*/ MODEL_NONE, /*pos*/ -2918, -870, -875, /*angle*/ 0, 0, 0, /*behParam*/ 0x00650000, /*beh*/ bhvWarps80
|
|
object /*model*/ MODEL_NONE, /*pos*/ 2483, -1688, -2662, /*angle*/ 0, 270, 0, /*behParam*/ 0x00660000, /*beh*/ bhvWarps90
|
|
object /*model*/ MODEL_NONE, /*pos*/ 2381, -500, 2011, /*angle*/ 0, 90, 0, /*behParam*/ 0x00670000, /*beh*/ bhvWarps70
|
|
object /*model*/ MODEL_NONE, /*pos*/ 4147, -1100, 1997, /*angle*/ 0, 90, 0, /*behParam*/ 0x00680000, /*beh*/ bhvWarps90
|
|
warp_node /*id*/ 0x64, /*destLevel*/ 0x06, /*destArea*/ 0x03, /*destNode*/ 0x64, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x65, /*destLevel*/ 0x06, /*destArea*/ 0x03, /*destNode*/ 0x65, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x66, /*destLevel*/ 0x06, /*destArea*/ 0x03, /*destNode*/ 0x66, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x67, /*destLevel*/ 0x06, /*destArea*/ 0x03, /*destNode*/ 0x67, /*unk6*/ 0x0000
|
|
warp_node /*id*/ 0x68, /*destLevel*/ 0x06, /*destArea*/ 0x03, /*destNode*/ 0x68, /*unk6*/ 0x0000
|
|
return
|
|
|
|
script_func_local_4:
|
|
object /*model*/ MODEL_RED_FLAME, /*pos*/ -2037, -818, -716, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
object /*model*/ MODEL_RED_FLAME, /*pos*/ -1648, -818, -716, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
object /*model*/ MODEL_RED_FLAME, /*pos*/ -1648, -818, -101, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
object /*model*/ MODEL_RED_FLAME, /*pos*/ -1648, -818, 512, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
object /*model*/ MODEL_RED_FLAME, /*pos*/ -2037, -818, -101, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
object /*model*/ MODEL_RED_FLAME, /*pos*/ -2969, -921, 420, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
object /*model*/ MODEL_RED_FLAME, /*pos*/ -2037, -818, -1330, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
object /*model*/ MODEL_RED_FLAME, /*pos*/ -3839, -1023, -1422, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
object /*model*/ MODEL_RED_FLAME, /*pos*/ -1929, -818, -3615, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
object /*model*/ MODEL_RED_FLAME, /*pos*/ -834, -818, -3615, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
object /*model*/ MODEL_BLUE_FLAME, /*pos*/ -3317, -921, 1229, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
object /*model*/ MODEL_BLUE_FLAME, /*pos*/ -204, -921, -624, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
object /*model*/ MODEL_BLUE_FLAME, /*pos*/ -2876, -921, 1229, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFlame
|
|
return
|
|
|
|
glabel level_castle_entry
|
|
init_level
|
|
load_mio0 /*seg*/ 0x07, /*romStart*/ _castle_inside_segment_7SegmentRomStart, /*romEnd*/ _castle_inside_segment_7SegmentRomEnd
|
|
load_mio0_texture /*seg*/ 0x09, /*romStart*/ _inside_mio0SegmentRomStart, /*romEnd*/ _inside_mio0SegmentRomEnd
|
|
load_mio0 /*seg*/ 0x06, /*romStart*/ _group15_mio0SegmentRomStart, /*romEnd*/ _group15_mio0SegmentRomEnd
|
|
load_raw /*seg*/ 0x0D, /*romStart*/ _group15_geoSegmentRomStart, /*romEnd*/ _group15_geoSegmentRomEnd
|
|
alloc_level_pool
|
|
mario /*model*/ MODEL_MARIO, /*behParam*/ 0x00000001, /*beh*/ bhvMario
|
|
jump_link /*target*/ script_func_global_16
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_BOWSER_TRAP, /*geo*/ castle_geo_000F18
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_WATER_LEVEL_PILLAR, /*geo*/ castle_geo_001940
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_CLOCK_MINUTE_HAND, /*geo*/ castle_geo_001530
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_CLOCK_HOUR_HAND, /*geo*/ castle_geo_001548
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_CLOCK_PENDULUM, /*geo*/ castle_geo_001518
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_CASTLE_DOOR, /*geo*/ castle_door_geo
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_WOODEN_DOOR, /*geo*/ wooden_door_geo
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_METAL_DOOR, /*geo*/ metal_door_geo
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_CASTLE_DOOR_UNUSED, /*geo*/ castle_door_geo
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_WOODEN_DOOR_UNUSED, /*geo*/ wooden_door_geo
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_DOOR_0_STARS, /*geo*/ castle_door_0_star_geo
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_DOOR_1_STAR, /*geo*/ castle_door_1_star_geo
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_DOOR_3_STARS, /*geo*/ castle_door_3_stars_geo
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_KEY_DOOR, /*geo*/ key_door_geo
|
|
# The different sets of star doors all use different model IDs, despite them all loading the same geo layout.
|
|
# It is possible that star doors were originally going to have numbers on them, similar to the other locked doors.
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_STAR_DOOR_30_STARS, /*geo*/ castle_geo_000F00
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_STAR_DOOR_8_STARS, /*geo*/ castle_geo_000F00
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_STAR_DOOR_50_STARS, /*geo*/ castle_geo_000F00
|
|
load_model_from_geo /*model*/ MODEL_CASTLE_STAR_DOOR_70_STARS, /*geo*/ castle_geo_000F00
|
|
|
|
area /*index*/ 1, /*geo*/ castle_geo_001400
|
|
object /*model*/ MODEL_NONE, /*pos*/ -5513, 717, -4324, /*angle*/ 0, 45, 0, /*behParam*/ 0x00140000, /*beh*/ bhvCastleFloorTrap
|
|
object /*model*/ MODEL_NONE, /*pos*/ 2477, 307, -2000, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvFishGroup
|
|
object /*model*/ MODEL_NONE, /*pos*/ 2774, 507, -1716, /*angle*/ 0, 90, 0, /*behParam*/ 0x00000000, /*beh*/ bhvTankFishGroup
|
|
object /*model*/ MODEL_NONE, /*pos*/ 3672, 507, -1307, /*angle*/ 0, 45, 0, /*behParam*/ 0x00000000, /*beh*/ bhvTankFishGroup
|
|
object /*model*/ MODEL_NONE, /*pos*/ 3748, 507, 773, /*angle*/ 0, -45, 0, /*behParam*/ 0x00000000, /*beh*/ bhvTankFishGroup
|
|
object /*model*/ MODEL_NONE, /*pos*/ 2778, 507, 1255, /*angle*/ 0, -90, 0, /*behParam*/ 0x00000000, /*beh*/ bhvTankFishGroup
|
|
object /*model*/ MODEL_BOO_CASTLE, /*pos*/ -1000, 50, -3500, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvBooInCastle
|
|
object /*model*/ MODEL_TOAD, /*pos*/ -1671, 0, 1313, /*angle*/ 0, 83, 0, /*behParam*/ 0x85000000, /*beh*/ bhvToadMessage
|
|
object /*model*/ MODEL_TOAD, /*pos*/ 1524, 307, 458, /*angle*/ 0, 110, 0, /*behParam*/ 0x86000000, /*beh*/ bhvToadMessage
|
|
object /*model*/ MODEL_TOAD, /*pos*/ 596, -306, -2637, /*angle*/ 0, 152, 0, /*behParam*/ 0x87000000, /*beh*/ bhvToadMessage
|
|
jump_link /*target*/ script_func_local_1
|
|
warp_node /*id*/ 0xF1, /*destLevel*/ 0x10, /*destArea*/ 0x01, /*destNode*/ 0x03, /*unk6*/ 0x0000
|
|
terrain /*terrainData*/ inside_castle_seg7_area_1_collision
|
|
rooms /*surfaceRooms*/ inside_castle_seg7_area_1_rooms
|
|
macro_objects /*objList*/ inside_castle_seg7_area_1_macro_objs
|
|
set_background_music /*unk2*/ 0x0001, /*seq*/ SEQ_LEVEL_INSIDE_CASTLE
|
|
terrain_type /*terrainType*/ TERRAIN_STONE
|
|
end_area
|
|
|
|
area /*index*/ 2, /*geo*/ castle_geo_001858
|
|
object /*model*/ MODEL_CASTLE_CLOCK_MINUTE_HAND, /*pos*/ -205, 2918, 7222, /*angle*/ 0, 180, 0, /*behParam*/ 0x00000000, /*beh*/ bhvClockMinuteHand
|
|
object /*model*/ MODEL_CASTLE_CLOCK_HOUR_HAND, /*pos*/ -205, 2918, 7222, /*angle*/ 0, 180, 0, /*behParam*/ 0x00000000, /*beh*/ bhvClockHourHand
|
|
object /*model*/ MODEL_CASTLE_CLOCK_PENDULUM, /*pos*/ -205, 2611, 7140, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvDecorativePendulum
|
|
object /*model*/ MODEL_LAKITU, /*pos*/ 4231, 1408, 1601, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvCameraLakitu
|
|
object /*model*/ MODEL_TOAD, /*pos*/ -977, 1203, 2569, /*angle*/ 0, 0, 0, /*behParam*/ 0x4C000000, /*beh*/ bhvToadMessage
|
|
object /*model*/ MODEL_TOAD, /*pos*/ -1584, 2253, 7157, /*angle*/ 0, 136, 0, /*behParam*/ 0x53000000, /*beh*/ bhvToadMessage
|
|
object /*model*/ MODEL_TOAD, /*pos*/ 837, 1203, 3020, /*angle*/ 0, 180, 0, /*behParam*/ 0x89000000, /*beh*/ bhvToadMessage
|
|
jump_link /*target*/ script_func_local_2
|
|
warp_node /*id*/ 0xF1, /*destLevel*/ 0x10, /*destArea*/ 0x01, /*destNode*/ 0x03, /*unk6*/ 0x0000
|
|
terrain /*terrainData*/ inside_castle_seg7_area_2_collision
|
|
rooms /*surfaceRooms*/ inside_castle_seg7_area_2_rooms
|
|
macro_objects /*objList*/ inside_castle_seg7_area_2_macro_objs
|
|
instant_warp /*index*/ 0, /*destArea*/ 2, /*displace*/ 0, -205, 410
|
|
set_background_music /*unk2*/ 0x0001, /*seq*/ SEQ_LEVEL_INSIDE_CASTLE
|
|
terrain_type /*terrainType*/ TERRAIN_STONE
|
|
end_area
|
|
|
|
area /*index*/ 3, /*geo*/ castle_geo_001C10
|
|
object /*model*/ MODEL_CASTLE_WATER_LEVEL_PILLAR, /*pos*/ 7066, -1178, -819, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvWaterLevelPillar
|
|
object /*model*/ MODEL_CASTLE_WATER_LEVEL_PILLAR, /*pos*/ 7066, -1178, -205, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvWaterLevelPillar
|
|
object /*model*/ MODEL_NONE, /*pos*/ 0, 0, 0, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvDddWarp
|
|
object /*model*/ MODEL_MIPS, /*pos*/ -1509, -1177, -1564, /*angle*/ 0, 0, 0, /*behParam*/ 0x00000000, /*beh*/ bhvMips
|
|
object /*model*/ MODEL_TOAD, /*pos*/ 1787, -1381, -1957, /*angle*/ 0, 126, 0, /*behParam*/ 0x52000000, /*beh*/ bhvToadMessage
|
|
object /*model*/ MODEL_TOAD, /*pos*/ -4048, -1381, -1334, /*angle*/ 0, 30, 0, /*behParam*/ 0x88000000, /*beh*/ bhvToadMessage
|
|
jump_link /*target*/ script_func_local_3
|
|
jump_link /*target*/ script_func_local_4
|
|
warp_node /*id*/ 0xF1, /*destLevel*/ 0x10, /*destArea*/ 0x01, /*destNode*/ 0x03, /*unk6*/ 0x0000
|
|
terrain /*terrainData*/ inside_castle_seg7_area_3_collision
|
|
rooms /*surfaceRooms*/ inside_castle_seg7_area_3_rooms
|
|
macro_objects /*objList*/ inside_castle_seg7_area_3_macro_objs
|
|
set_background_music /*unk2*/ 0x0001, /*seq*/ SEQ_LEVEL_INSIDE_CASTLE
|
|
terrain_type /*terrainType*/ TERRAIN_STONE
|
|
end_area
|
|
|
|
free_level_pool
|
|
mario_pos /*area*/ 1, /*yaw*/ 180, /*pos*/ -1023, 0, 1152
|
|
call /*arg*/ 0, /*func*/ lvl_init_or_update
|
|
call_loop /*arg*/ 1, /*func*/ lvl_init_or_update
|
|
clear_level
|
|
sleep_before_exit /*frames*/ 1
|
|
exit
|