Changing to different agent doesn't work

Suppose we have two frog agents a “Frog” and “Superfrog”, and a pellet agent, as seen in the project agent list at the left. The pellet allows the frog to become a superfrog. When the frog eats (sees to its right) a pellet we want the frog to become a superfrog. So, we write the rule in the frog behavior. The Superfrog can swim in water and can’t be killed by trucks etc. (See Superfrog behavior below.) When the simulation runs, the frog seems to change into a superfrog, but when the frog moves in front of a truck or jumps on the water, it dies? The superfrog behavior rules are 100% correct. You can test this if you use the pencil tool to place a superfrog in front of a truck or on the water, it does not die. What is happening and why? How can this be corrected?
Data
Created:May 28, 2015
Played:104
Agent:13
Rules:34
Methods:15
false
Settings
New Project Name
Rename
Copy
Download
Show Project Report
Flag Project
Delete
Suppose we have two frog agents a “Frog” and “Superfrog”, and a pellet agent, as seen in the project agent list at the left. The pellet allows the frog to become a superfrog. When the frog eats (sees to its right) a pellet we want the frog to become a superfrog. So, we write the rule in the frog behavior. The Superfrog can swim in water and can’t be killed by trucks etc. (See Superfrog behavior below.) When the simulation runs, the frog seems to change into a superfrog, but when the frog moves in front of a truck or jumps on the water, it dies? The superfrog behavior rules are 100% correct. You can test this if you use the pencil tool to place a superfrog in front of a truck or on the water, it does not die. What is happening and why? How can this be corrected?
Edit Description
Design