// Hidden Wrat in level 2

ON INIT {
 SET Łtype "Rat_wrat"
 ACCEPT
}

ON INITEND {
 SET §enemy 0
 SET §reflection_mode 0
 OBJECT_HIDE SELF YES
 ACCEPT
}

ON LOAD {
 USEMESH "wrat_base\wrat_base.teo"
 TWEAK SKIN "npc_rat_base_cm" "npc_rat_base"
 ACCEPT
}

ON CUSTOM {
 IF (^$PARAM1 == "Appear") {
  OBJECT_HIDE SELF NO
  SET §enemy 1
  SET §reflection_mode 1
  TIMERatak 1 2 SENDEVENT ATTACK_PLAYER SELF ""
  ACCEPT
 }
 ACCEPT
}