If I understood correctly, you can do so:
anim jump
@script
if(frame==0){
void self = getlocalvar("self");
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL2"), 0, 200, 0);
changeentityproperty(self, "defense", openborconstant("ATK_NORMAL3"), 0, 200, 0)...