This is a sub-page of Development:The Legend of Zelda: Ocarina of Time.
Enemy Damage Reactions#
While there are 16 entries reserved for enemy reactions to damage, only the following are used:
Label |
Comment |
Translation |
|---|---|---|
CL_BTD_NONE |
/* 無し */ |
None |
CL_BTD_STOP |
/* 止まる */ |
Stop |
CL_BTD_FIRE |
/* 燃える */ |
Burn |
CL_BTD_ICE |
/* 凍る */ |
Freeze |
CL_BTD_LIGHT |
/* 光 */ |
Light |
However, z_ocarina2/src/z_collision_param.h contains an older and more extensive set of labels that are commented out.
Label |
Comment |
Translation |
|---|---|---|
CL_BTD_NONE = 0 |
/* 無し */ |
None |
CL_BTD_MAX_DMG = 20 |
/* ダメージマックス値 */ |
Max Damage Value |
CL_BTD_STOP |
/* 止まる */ |
Stop |
CL_BTD_KO |
/* KO */ |
K.O. |
CL_BTD_FADE_OUT |
/* 消える */ |
Vanish |
CL_BTD_KOKERU |
/* こける */ |
Collapse |
CL_BTD_SHRINK |
/* しぼむ */ |
Wilt |
CL_BTD_ROT |
/* 回転 */ |
Spin |
CL_BTD_DROP |
/* 落下 */ |
Drop |
CL_BTD_BLOCK |
/* ブロック */ |
Block |
CL_BTD_RUN |
/* 逃げる */ |
Flee |
Enemy Damage Tables#
z_ocarina2/src/z_collision_param.h contains a list of labels for enemy damage tables. The following labels are of particular interest:
Label |
Comment |
Translation |
|---|---|---|
11 |
CL_EN_HORSE |
/* お馬さん(テスト) */ |
17 |
CL_EN_NPC2 |
/* NPC2 */ |
22 |
CL_EN_NPC |
/* 人間 */ |
The HORSE damage table is zeroed out, meaning that horses don't take damage from anything or have one of the reactions in the section above. It may be a remnant of the horseback combat functionality that was eventually realized in Twilight Princess.
The NPC2 table is also zeroed out, and the decomp project hasn't noted anything that references it.
According to the decomp project's findings, the NPC table is referenced by the actors En_Du (Darunia), En_Go (unused early Goron), En_Ma1 (Child Malon), En_Ma2 (Adult Malon (Stable & Lon Lon Ranch - Ingo Ousted)), and En_Ma3 (Adult Malon (Day)). There are hostile Gorons in Twilight Princess. Perhaps something similar was intended for Ocarina of Time?
Attack Types#
z_ocarina2/src/z_collision_param.h has remnants of removed items in its list of damage types. Many actors have a table defining these values, but the values corresponding to removed items, such as the Dark Magic and Wind Arrows, are never referenced during normal gameplay.
Label |
Mask Bit |
Comment |
Translation |
Used |
|---|---|---|---|---|
CLE_ATC_BIT_DEKU_NUT |
(1<<0) |
/* デクの実 */ |
Deku Nut |
✔ |
CLE_ATC_BIT_DEKU_ROD |
(1<<1) |
/* デクの棒 */ |
Deku Stick |
✔ |
CLE_ATC_BIT_SLINGSHOT |
(1<<2) |
/* パチンコ */ |
Slingshot |
✔ |
CLE_ATC_BIT_BOMB |
(1<<3) |
/* 爆弾 */ |
Bomb |
✔ |
CLE_ATC_BIT_BOOMERANG |
(1<<4) |
/* ブーメラン */ |
Boomerang |
✔ |
CLE_ATC_BIT_FAIRY_ARROW |
(1<<5) |
/* 妖精の弓矢 */ |
Fairy Bow & Arrows |
✔ |
CLE_ATC_BIT_HAMMER |
(1<<6) |
/* ハンマー */ |
Hammer |
✔ |
CLE_ATC_BIT_HOOK_SHOT |
(1<<7) |
/* フックショット */ |
Hookshot |
✔ |
CLE_ATC_BIT_KNIFE |
(1<<8) |
/* ナイフ */ |
Knife |
✔ |
CLE_ATC_BIT_MASTER_SWRD |
(1<<9) |
/* マスターソード */ |
Master Sword |
✔ |
CLE_ATC_BIT_GIANT_KNIFE |
(1<<10) |
/* 巨人のナイフ */ |
Giant's Knife |
✔ |
CLE_ATC_BIT_FIRE_ARROW |
(1<<11) |
/* 炎の矢 */ |
Fire Arrow |
✔ |
CLE_ATC_BIT_ICE_ARROW |
(1<<12) |
/* 氷の矢 */ |
Ice Arrow |
✔ |
CLE_ATC_BIT_LIGHT_ARROW |
(1<<13) |
/* 光の矢 */ |
Light Arrow |
✔ |
CLE_ATC_BIT_WIND_ARROW |
(1<<14) |
/* 風の矢 */ |
Wind Arrow |
✘ |
CLE_ATC_BIT_SOUL_ARROW |
(1<<15) |
/* 魂の矢 */ |
Spirit Arrow |
✘ |
CLE_ATC_BIT_DARK_ARROW |
(1<<16) |
/* 闇の矢 */ |
Dark Arrow |
✘ |
CLE_ATC_BIT_FIRE_MAGIC |
(1<<17) |
/* 炎の魔法 */ |
Fire Magic |
✔ |
CLE_ATC_BIT_ICE_MAGIC |
(1<<18) |
/* 氷の魔法 */ |
Ice Magic |
✔ |
CLE_ATC_BIT_LIGHT_MAGIC |
(1<<19) |
/* 光の魔法 */ |
Light Magic |
✔ |
CLE_ATC_BIT_SHIELD |
(1<<20) |
/* 盾 */ |
Shield |
✔ |
CLE_ATC_BIT_MIR_RAY |
(1<<21) |
/* 光の盾 */ |
Light Shield |
✔ |
CLE_ATC_BIT_ROLLING_KIRU_KF |
(1<<22) |
/* 回転ぎり:ナイフ */ |
Spin Attack: Knife |
✔ |
CLE_ATC_BIT_ROLLING_KIRU_LS |
(1<<23) |
/* 回転ぎり:ロングソード */ |
Spin Attack: Longsword |
✔ |
CLE_ATC_BIT_ROLLING_KIRU_MS |
(1<<24) |
/* 回転ぎり:マスターソード */ |
Spin Attack: Master Sword |
✔ |
CLE_ATC_BIT_ROLLING_KIRU_DKF |
(1<<25) |
/* 大回転切り:ナイフ */ |
Big Spin Attack: Knife |
✔ |
CLE_ATC_BIT_ROLLING_KIRU_DLS |
(1<<26) |
/* 大回転切り:ロングソード */ |
Big Spin Attack: Longsword |
✔ |
CLE_ATC_BIT_ROLLING_KIRU_DMS |
(1<<27) |
/* 大回転切り:マスターソード */ |
Big Spin Attack: Master Sword |
✔ |
CLE_ATC_BIT_DARK_MAGIC |
(1<<28) |
/* 闇の魔法 */ |
Dark Magic |
✘ |
CLE_ATC_BIT_PL_NON_DEF |
(1<<29) |
/* プレイヤーガード不能 */ |
Player Can't Defend |
✔ |
CLE_ATC_BIT_JUMP_HAMMER |
(1<<30) |
/* ジャンプハンマー */ |
Jump Hammer |
✔ |