Pārlūkot izejas kodu

Include angepasst, neue Scripts, Bugs (werden behoben)

DragonflySotS 7 gadus atpakaļ
vecāks
revīzija
0f7e469781
3 mainītis faili ar 11 papildinājumiem un 7 dzēšanām
  1. 1
    1
      sots-private
  2. 4
    0
      src/include/hiddenflags.h
  3. 6
    6
      src/include/script_language.h

+ 1
- 1
sots-private

@@ -1 +1 @@
1
-Subproject commit 8f1f50bbe7d5ba157cbb2a4791f2181152234cb6
1
+Subproject commit d208915b0707c7710bc28ec3b0bea5cfccb86917

+ 4
- 0
src/include/hiddenflags.h Parādīt failu

@@ -4,4 +4,8 @@
4 4
 setflag 0x501
5 5
 setflag 0x507
6 6
 setflag 0x509
7
+setflag 0x50E
8
+setflag 0x511
9
+setflag 0x512
10
+setflag 0x513
7 11
 .endm

+ 6
- 6
src/include/script_language.h Parādīt failu

@@ -131,15 +131,15 @@ callstd \msgbox_callstd
131 131
 .endm
132 132
 
133 133
 .macro giveitem giveitem_item:req giveitem_quantity:req giveitem_messagetyp:req
134
-setvarifnotzero 0x8000 \giveitem_item
135
-setvarifnotzero 0x8001 \giveitem_quantity
134
+copyvarifnotzero 0x8000 \giveitem_item
135
+copyvarifnotzero 0x8001 \giveitem_quantity
136 136
 callstd \giveitem_messagetyp
137 137
 .endm
138 138
 
139 139
 .macro giveitem2 giveitem2_item:req giveitem2_quantity:req giveitem2_song:req
140
-setvarifnotzero 0x8000 \giveitem2_item
141
-setvarifnotzero 0x8001 \giveitem2_quantity
142
-setvarifnotzero 0x8002 \giveitem2_song
140
+copyvarifnotzero 0x8000 \giveitem2_item
141
+copyvarifnotzero 0x8001 \giveitem2_quantity
142
+copyvarifnotzero 0x8002 \giveitem2_song
143 143
 callstd 0x9
144 144
 .endm
145 145
 
@@ -745,7 +745,7 @@ clearflag FLAG_ENABLE_MUSIC_OVERRIDES
745 745
 .word \braile_data
746 746
 .endm
747 747
 
748
-.macro givepokemon givepokemon_spezies:req givepokemon_level:req givepokemon_item:req givepokemon_one givepokemon_two givepokemon_three
748
+.macro givepokemon givepokemon_spezies:req givepokemon_level:req givepokemon_item:req
749 749
 .byte 0x79
750 750
 .hword \givepokemon_spezies
751 751
 .byte \givepokemon_level