Talk:Sealed/@comment-5672532-20130211044755/@comment-5173028-20130211061132

damage is calculated in the damage label (which again how it knows to go there when it doesn't have the "goto" or the "gosub" command is beyond me though...)

in damage it checks everything (is the enemy's level above yours, if earth is greater than 0 reduce the damage by its variable (how exactly is in the code so I'm not really gonna bother but it multiplies, divides, and subtracts several numbers)

were you guarding? etc. etc. etc.

and then in the end it has a return

so its working like a subroutine but how when there is no gosub I got no idea...