Thread: proper sa's????
View Single Post
Old 02.07.2005, 00:48   #2
bobby
Архивный участник
 
Join Date: Jul 2005
Posts: 44
Default

and this would be the quest?????

Code:
class soul_party_private_casting_curse : party_private_casting_curse
handler 10        //  MY_DYING
        variable_begin
                "c1"
                "myself"
                "_choiceN"
                "_code"
                "_from_choice"
        variable_end

        push_event        //  c1
        push_const 276
        add
        push_reg_sp
        fetch_i
        shift_sp 1
        func_call 83        //  func[GetLastAttacker]
        assign
        shift_sp -1

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4629 // 0級紅色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90316

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4630 // 1級紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4629
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90316
        //1級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4630 // 1級紅色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90317

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4631 // 2級紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4630
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315
L90317
        // 2級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4631 // 2級紅色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90318

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4632 // 3級紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4631
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315
L90318
        //危險區域
        // 4級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4632 // 3級紅色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90320 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90319 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4633 // 4級紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4632
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90319
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4632
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90320
        //危險區域
        // 5級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4633 // 4級紅色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90322 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90321 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4634 // 5級紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4633
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90321
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4633
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90322
        //危險區域
        // 6級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4634 // 5級紅色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90324 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90323 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4635 // 6級紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4634
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90323
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4634
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90324
        //危險區域
        // 7級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4635 // 6級紅色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90326 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90325 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4636 // 7級紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4635
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90325
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4635
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90326
        //危險區域
        // 8級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4636 // 7級紅色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90328 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90327 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4637 // 8級紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4636
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90327
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4636
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90328
        //危險區域
        // 9級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4637 // 8級紅色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90330 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90329 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4638 // 9級紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4637
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90329
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 277
        add
        fetch_i
        push_const 4637
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90330
        //危險區域
        // 10級紅色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4638 // 9級紅色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90332 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90331 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4639 // 10級紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4638
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90331
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4662 // 破碎紅色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 277
        add
        fetch_i
        push_const 4638
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90332
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4640 // 0級綠色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90333

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4641 // 1級綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4640
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90333
        //1級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4641 // 1級綠色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90334

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4642 // 2級綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4641
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315
L90334
        // 2級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4642 // 2級綠色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90335

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4643 // 3級綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4642
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315
L90335
        //危險區域
        // 4級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4643 // 3級綠色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90337 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90334 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4644 // 4級綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4643
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90336
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4643
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90337
        //危險區域
        // 5級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4644 // 4級綠色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90339 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90338 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4645 // 5級綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4644
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90338
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4644
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90339
        //危險區域
        // 6級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4645 // 5級綠色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90341 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90340 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4646 // 6級綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4645
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90340
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4645
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90341
        //危險區域
        // 7級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4646 // 6級綠色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90343 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90342 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4647 // 7級綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4646
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90342
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4646
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90343
        //危險區域
        // 8級綠色搜魂石
        shift_sp 1
        push_event     , ,   //  c1
        push_const 276
        add
        fetch_i
        push_const 4647 // 7級綠色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90345 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90344 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4648 // 8級綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4647
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90344
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4647
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90345
        //危險區域
        // 9級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4648 // 8級綠色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90347 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90346 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4649 // 9級綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4648
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90346
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 277
        add
        fetch_i
        push_const 4648
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90347
        //危險區域
        // 10級綠色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4649 // 9級綠色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90349 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90348 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4650 // 10級綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4649
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90348
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4663 // 破碎綠色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 277
        add
        fetch_i
        push_const 4649
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90349
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4651 // 0級藍色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90350

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4652 // 1級藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4651
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90350
        //1級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4652 // 1級藍色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90351

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4653 // 2級藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4652
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315
L90351
        // 2級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4653 // 2級藍色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90352

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4654 // 3級藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4653
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315
L90352
        //危險區域
        // 4級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4654 // 3級藍色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90354 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90353 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4655 // 4級藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4654
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90353
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4654
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90354
        //危險區域
        // 5級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4655 // 4級藍色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90356 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90355 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4656 // 5級藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4655
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90355
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4655
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90356
        //危險區域
        // 6級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4656 // 5級藍色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90358 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90357 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4657 // 6級藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4656
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90357
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4656
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90358
        //危險區域
        // 7級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4657 // 6級藍色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90360 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90359 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4658 // 7級藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4657
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90359
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4657
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90360
        //危險區域
        // 8級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4658 // 7級藍色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90362 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90361 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4659 // 8級藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4658
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90361
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4658
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90362
        //危險區域
        // 9級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4659 // 8級藍色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90364 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90363 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4660 // 9級藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4659
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90363
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 277
        add
        fetch_i
        push_const 4659
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315         
L90364
        //危險區域
        // 10級藍色搜魂石
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4660 // 9級藍色搜魂石
        func_call 81        //  func[OwnItemCount]
        shift_sp -2
        push_const 1
        equal
        branch_false L90366 //下一顆

        shift_sp 1
        push_const 100
        func_call 55        //  func[Rand]
        shift_sp -1
        push_const 30
        less
        branch_false L90365 //暴掉       

        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4661 // 10級藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3
        shift_sp -1

        shift_sp 1       
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4660
        push_const 1
        func_call 80        //  func[DeleteItem1]
        shift_sp -3
        shift_sp -1
        jump L90315            
L90365
        shift_sp 1
        push_event        //  c1
        push_const 276
        add
        fetch_i
        push_const 4664 // 破碎藍色搜魂石
        push_const 1
        func_call 77        //  func[GiveItem1]
        shift_sp -3


please any feed back appreciated.


don't know if all the code is in that snippet but I have a txt file for it, that i can send if anyone is actually interested.
bobby is offline