IfColor x_ET,y_ET,4218A5,1
        ETHP=NONE
    Else 
        ETHP=NORMAL
    EndIf 
Return 
//*捡物
Sub GetGoods
    KeyPress 90,1
    Delay 500
    KeyPress 90,1
    Delay 500
Return 
//*打坐
Sub TakeRest
    Delay 2000
    KeyPress 114,1
    Delay 1500
    KeyPress 88,1
    Delay 1000
    x=251
    y=38
    x1=379
    x_HPmax=x
    While 1
        IfColor x,y,390cad,2
            If x>x1
                IfColor 199,62,d6a200,0
                    IfColor 199,82,8abd,0
                        KeyPress 88,1
                        Delay 1000
                        Goto break1
                    EndIf 
                EndIf 
            Else 
                x_HPmax=x
                x=x+1
            EndIf 
        EndIf 
        IfColor x_HPmax,y,390cad,2
        Else 
            //受攻击
            Goto break1
        EndIf 
    EndWhile 
    Rem break1
Return