Skip to content

Commit 2eef7b2

Browse files
authored
Archetype constants updates
SET_ELVENNOTES --> SET_ELFNOTE SET_DIABELLESTARR --> SET_DIABELLSTAR
1 parent 180d49c commit 2eef7b2

17 files changed

+56
-56
lines changed

archetype_setcode_constants.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ SET_COUNTER = 0x200
555555
SET_BATTLIN_BOXING = 0x201
556556
SET_VEDA = 0x202
557557
SET_DIABELL = 0x203
558-
SET_DIABELLESTARR = 0x1203
558+
SET_DIABELLSTAR = 0x1203
559559
SET_SINFUL_SPOILS = 0x204
560560
SET_SNAKE_EYE = 0x205
561561
SET_PATISSCIEL = 0x206
@@ -603,8 +603,8 @@ SET_KEWL_TUNE = 0x1ce
603603
SET_ECCLESIA = 0x1cf
604604
SET_END_OF_THE_WORLD = 0x1d1
605605
SET_FAIRY_TAIL = 0x1d2
606+
SET_ELFNOTE = 0x1d0
606607
--Released but the official English name is unconfirmed
607-
SET_ELVENNOTES = 0x1d0
608608
SET_CLOWN_CREW = 0x1d3
609609
--Pre-release archetypes
610610
SET_GMX = 0x1d4

official/c10266279.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
local s,id=GetID()
55
function s.initial_effect(c)
66
Pendulum.AddProcedure(c)
7-
--If a "Power Patron" and/or "Elvennotes" monster(s) is Special Summoned to your field while this card is in the Pendulum Zone: You can destroy this card, and if you do, draw 2 cards, then discard 1 card
7+
--If a "Power Patron" and/or "Elfnote" monster(s) is Special Summoned to your field while this card is in the Pendulum Zone: You can destroy this card, and if you do, draw 2 cards, then discard 1 card
88
local e1=Effect.CreateEffect(c)
99
e1:SetDescription(aux.Stringid(id,0))
1010
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DRAW+CATEGORY_HANDES)
@@ -28,7 +28,7 @@ function s.initial_effect(c)
2828
e2:SetTarget(s.mdestg)
2929
e2:SetOperation(s.mdesop)
3030
c:RegisterEffect(e2)
31-
--If this card is added to your Extra Deck face-up: You can add 1 "Power Patron" or "Elvennotes" card from your face-up Extra Deck or GY to your hand, except "Power Patron Shadow Spirit Junordo"
31+
--If this card is added to your Extra Deck face-up: You can add 1 "Power Patron" or "Elfnote" card from your face-up Extra Deck or GY to your hand, except "Power Patron Shadow Spirit Junordo"
3232
local e3=Effect.CreateEffect(c)
3333
e3:SetDescription(aux.Stringid(id,2))
3434
e3:SetCategory(CATEGORY_TOHAND)
@@ -42,9 +42,9 @@ function s.initial_effect(c)
4242
c:RegisterEffect(e3)
4343
end
4444
s.listed_names={id,5914858} --"Junora the Power Patron of Tuning"
45-
s.listed_series={SET_POWER_PATRON,SET_ELVENNOTES}
45+
s.listed_series={SET_POWER_PATRON,SET_ELFNOTE}
4646
function s.pdesconfilter(c,tp)
47-
return c:IsFaceup() and c:IsControler(tp) and c:IsSetCard({SET_POWER_PATRON,SET_ELVENNOTES})
47+
return c:IsFaceup() and c:IsControler(tp) and c:IsSetCard({SET_POWER_PATRON,SET_ELFNOTE})
4848
end
4949
function s.pdescon(e,tp,eg,ep,ev,re,r,rp)
5050
return eg:IsExists(s.pdesconfilter,1,nil,tp)
@@ -118,7 +118,7 @@ function s.thcon(e)
118118
return c:IsLocation(LOCATION_EXTRA) and c:IsFaceup()
119119
end
120120
function s.thfilter(c)
121-
return c:IsFaceup() and c:IsSetCard({SET_POWER_PATRON,SET_ELVENNOTES}) and c:IsAbleToHand() and not c:IsCode(id)
121+
return c:IsFaceup() and c:IsSetCard({SET_POWER_PATRON,SET_ELFNOTE}) and c:IsAbleToHand() and not c:IsCode(id)
122122
end
123123
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
124124
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_EXTRA|LOCATION_GRAVE,0,1,nil) end

official/c12375297.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function s.initial_effect(c)
1313
e1:SetTarget(function(e,c) return c:IsLocation(LOCATION_EXTRA) and not c:IsSynchroMonster() end)
1414
c:RegisterEffect(e1)
1515
aux.addContinuousLizardCheck(c,LOCATION_MZONE,function(e,c) return not c:IsOriginalType(TYPE_SYNCHRO) end)
16-
--Increase the Level of the monster in your center Main Monster Zone by 3 (until the end of this turn), then immediately after this effect resolves, you can Synchro Summon 1 "Elvennotes" monster or "Junora the Power Patron of Tuning"
16+
--Increase the Level of the monster in your center Main Monster Zone by 3 (until the end of this turn), then immediately after this effect resolves, you can Synchro Summon 1 "Elfnote" monster or "Junora the Power Patron of Tuning"
1717
local e2=Effect.CreateEffect(c)
1818
e2:SetDescription(aux.Stringid(id,0))
1919
e2:SetCategory(CATEGORY_LVCHANGE+CATEGORY_SPECIAL_SUMMON)
@@ -27,7 +27,7 @@ function s.initial_effect(c)
2727
e2:SetOperation(s.lvop)
2828
e2:SetHintTiming(0,TIMING_MAIN_END|TIMINGS_CHECK_MONSTER)
2929
c:RegisterEffect(e2)
30-
--Add 1 "Elvennotes" card from your Deck to your hand
30+
--Add 1 "Elfnote" card from your Deck to your hand
3131
local e3=Effect.CreateEffect(c)
3232
e3:SetDescription(aux.Stringid(id,1))
3333
e3:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
@@ -40,7 +40,7 @@ function s.initial_effect(c)
4040
e3:SetOperation(s.thop)
4141
c:RegisterEffect(e3)
4242
end
43-
s.listed_series={SET_ELVENNOTES}
43+
s.listed_series={SET_ELFNOTE}
4444
s.listed_names={5914858} --"Junora the Power Patron of Tuning"
4545
function s.lvfilter(c)
4646
return c:IsSequence(2) and c:HasLevel() and c:IsFaceup()
@@ -54,7 +54,7 @@ function s.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
5454
Duel.SetPossibleOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
5555
end
5656
function s.synchrofilter(c)
57-
return (c:IsSetCard(SET_ELVENNOTES) or c:IsCode(5914858)) and c:IsSynchroSummonable()
57+
return (c:IsSetCard(SET_ELFNOTE) or c:IsCode(5914858)) and c:IsSynchroSummonable()
5858
end
5959
function s.lvop(e,tp,eg,ep,ev,re,r,rp)
6060
local tc=Duel.GetFirstTarget()
@@ -79,7 +79,7 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
7979
end
8080
end
8181
function s.thfilter(c)
82-
return c:IsSetCard(SET_ELVENNOTES) and c:IsAbleToHand()
82+
return c:IsSetCard(SET_ELFNOTE) and c:IsAbleToHand()
8383
end
8484
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
8585
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil) end

official/c13597785.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function s.initial_effect(c)
1313
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
1414
e1:SetValue(function() return 0,ZONE_CENTER_MMZ end)
1515
c:RegisterEffect(e1)
16-
--Add 1 "Elvennotes" monster from your Deck to your hand, except "Elvennotes Lucina"
16+
--Add 1 "Elfnote" monster from your Deck to your hand, except "Elfnote Lucina"
1717
local e2=Effect.CreateEffect(c)
1818
e2:SetDescription(aux.Stringid(id,1))
1919
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
@@ -38,9 +38,9 @@ function s.initial_effect(c)
3838
c:RegisterEffect(e3)
3939
end
4040
s.listed_names={id}
41-
s.listed_series={SET_ELVENNOTES}
41+
s.listed_series={SET_ELFNOTE}
4242
function s.thfilter(c)
43-
return c:IsSetCard(SET_ELVENNOTES) and c:IsMonster() and not c:IsCode(id) and c:IsAbleToHand()
43+
return c:IsSetCard(SET_ELFNOTE) and c:IsMonster() and not c:IsCode(id) and c:IsAbleToHand()
4444
end
4545
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
4646
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil) end

official/c24092792.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function s.initial_effect(c)
1717
e1:SetCondition(function(e) return Duel.GetFieldCard(e:GetHandlerPlayer(),LOCATION_MZONE,2)~=nil end)
1818
e1:SetValue(function(e,c) return c:IsSequence(2) end)
1919
c:RegisterEffect(e1)
20-
--Special Summon 1 "Elvennotes" monster from your GY
20+
--Special Summon 1 "Elfnote" monster from your GY
2121
local e2=Effect.CreateEffect(c)
2222
e2:SetDescription(aux.Stringid(id,0))
2323
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DISABLE)
@@ -32,13 +32,13 @@ function s.initial_effect(c)
3232
e2:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
3333
c:RegisterEffect(e2)
3434
end
35-
s.listed_series={SET_ELVENNOTES}
35+
s.listed_series={SET_ELFNOTE}
3636
function s.spcostfilter(c,e,tp)
3737
return c:IsMonster() and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0
3838
and Duel.IsExistingTarget(s.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp,c:GetOriginalAttribute())
3939
end
4040
function s.spfilter(c,e,tp,attr)
41-
return c:IsSetCard(SET_ELVENNOTES) and not c:IsOriginalAttribute(attr) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
41+
return c:IsSetCard(SET_ELFNOTE) and not c:IsOriginalAttribute(attr) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
4242
end
4343
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
4444
if chk==0 then return Duel.IsExistingMatchingCard(s.spcostfilter,tp,LOCATION_HAND|LOCATION_MZONE,0,1,nil,e,tp) end

official/c26700718.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ function s.initial_effect(c)
2828
e2:SetOperation(s.spop)
2929
c:RegisterEffect(e2)
3030
end
31-
s.listed_series={SET_DIABELLESTARR}
31+
s.listed_series={SET_DIABELLSTAR}
3232
function s.plfilter(c,tp,hand_chk)
33-
if not (c:IsMonster() and c:IsSetCard(SET_DIABELLESTARR) and not c:IsForbidden()) then return false end
33+
if not (c:IsMonster() and c:IsSetCard(SET_DIABELLSTAR) and not c:IsForbidden()) then return false end
3434
local owner=c:GetOwner()
3535
local ft=Duel.GetLocationCount(owner,LOCATION_SZONE)
3636
if hand_chk and owner==tp then ft=ft-1 end

official/c38511382.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ function s.initial_effect(c)
3030
e2:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) Duel.NegateEffect(ev) end)
3131
c:RegisterEffect(e2)
3232
end
33-
s.listed_series={SET_DIABELLESTARR,SET_SINFUL_SPOILS}
33+
s.listed_series={SET_DIABELLSTAR,SET_SINFUL_SPOILS}
3434
function s.tgfilter(c,cc)
35-
return c:IsMonster() and c:IsSetCard(SET_DIABELLESTARR) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and c:IsAbleToGraveAsCost()
35+
return c:IsMonster() and c:IsSetCard(SET_DIABELLSTAR) and (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and c:IsAbleToGraveAsCost()
3636
and Duel.IsExistingTarget(Card.IsNegatable,0,LOCATION_ONFIELD,LOCATION_ONFIELD,1,Group.FromCards(c,cc)+c:GetEquipGroup())
3737
end
3838
function s.discost(e,tp,eg,ep,ev,re,r,rp,chk)
@@ -61,7 +61,7 @@ function s.gydiscon(e,tp,eg,ep,ev,re,r,rp)
6161
if ch==0 or not (ep==1-tp and Duel.IsChainDisablable(ev)) or re:GetHandler():IsDisabled() then return false end
6262
local ch_player,ch_eff=Duel.GetChainInfo(ch,CHAININFO_TRIGGERING_PLAYER,CHAININFO_TRIGGERING_EFFECT)
6363
local ch_c=ch_eff:GetHandler()
64-
return ch_player==tp and ((ch_c:IsSetCard(SET_DIABELLESTARR) and ch_eff:IsMonsterEffect())
64+
return ch_player==tp and ((ch_c:IsSetCard(SET_DIABELLSTAR) and ch_eff:IsMonsterEffect())
6565
or (ch_c:IsSetCard(SET_SINFUL_SPOILS) and ch_eff:IsSpellTrapEffect()))
6666
end
6767
function s.gydistg(e,tp,eg,ep,ev,re,r,rp,chk)

official/c42302563.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function s.initial_effect(c)
1515
e1:SetCondition(function(e) return e:GetHandler():IsSequence(2) end)
1616
e1:SetValue(3000)
1717
c:RegisterEffect(e1)
18-
--Special Summon 1 Level 6 or lower "Elvennotes" monster from your hand or GY, then you can decrease the Levels of all Level 4 or higher monsters currently on the field by 3 until the end of this turn
18+
--Special Summon 1 Level 6 or lower "Elfnote" monster from your hand or GY, then you can decrease the Levels of all Level 4 or higher monsters currently on the field by 3 until the end of this turn
1919
local e2=Effect.CreateEffect(c)
2020
e2:SetDescription(aux.Stringid(id,0))
2121
e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_LVCHANGE)
@@ -29,9 +29,9 @@ function s.initial_effect(c)
2929
e2:SetHintTiming(0,TIMING_MAIN_END|TIMINGS_CHECK_MONSTER)
3030
c:RegisterEffect(e2)
3131
end
32-
s.listed_series={SET_ELVENNOTES}
32+
s.listed_series={SET_ELFNOTE}
3333
function s.spfilter(c,e,tp)
34-
return c:IsLevelBelow(6) and c:IsSetCard(SET_ELVENNOTES) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
34+
return c:IsLevelBelow(6) and c:IsSetCard(SET_ELFNOTE) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
3535
end
3636
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
3737
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0

official/c50590801.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function s.initial_effect(c)
3535
e2:SetOperation(s.disop)
3636
c:RegisterEffect(e2)
3737
end
38-
s.listed_series={SET_ELVENNOTES}
38+
s.listed_series={SET_ELFNOTE}
3939
function s.mvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
4040
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_MZONE) and chkc:IsFaceup() end
4141
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.IsExistingTarget(Card.IsFaceup,tp,LOCATION_MZONE,0,1,nil) end
@@ -53,7 +53,7 @@ function s.mvop(e,tp,eg,ep,ev,re,r,rp)
5353
end
5454
function s.discon(e,tp,eg,ep,ev,re,r,rp)
5555
return rp==1-tp and re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsSpellTrapEffect() and Duel.IsChainDisablable(ev)
56-
and Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsSetCard,SET_ELVENNOTES),tp,LOCATION_MZONE,0,3,nil)
56+
and Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsSetCard,SET_ELFNOTE),tp,LOCATION_MZONE,0,3,nil)
5757
end
5858
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
5959
if chk==0 then return true end

official/c56651978.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--scripted by Hatter
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
--(Quick Effect): You can send 1 other "Elvennotes" card from your hand or face-up field to the GY; Special Summon this card from your hand
6+
--(Quick Effect): You can send 1 other "Elfnote" card from your hand or face-up field to the GY; Special Summon this card from your hand
77
local e1=Effect.CreateEffect(c)
88
e1:SetDescription(aux.Stringid(id,0))
99
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
@@ -16,7 +16,7 @@ function s.initial_effect(c)
1616
e1:SetOperation(s.selfspop)
1717
e1:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
1818
c:RegisterEffect(e1)
19-
--If this card is Normal or Special Summoned to the center Main Monster Zone: You can Special Summon 1 "Elvennotes" monster from your Deck, except "Elvennotes Regina"
19+
--If this card is Normal or Special Summoned to the center Main Monster Zone: You can Special Summon 1 "Elfnote" monster from your Deck, except "Elfnote Regina"
2020
local e2a=Effect.CreateEffect(c)
2121
e2a:SetDescription(aux.Stringid(id,1))
2222
e2a:SetCategory(CATEGORY_SPECIAL_SUMMON)
@@ -45,9 +45,9 @@ function s.initial_effect(c)
4545
c:RegisterEffect(e3)
4646
end
4747
s.listed_names={id}
48-
s.listed_series={SET_ELVENNOTES}
48+
s.listed_series={SET_ELFNOTE}
4949
function s.selfspcostfilter(c,tp)
50-
return c:IsSetCard(SET_ELVENNOTES) and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0
50+
return c:IsSetCard(SET_ELFNOTE) and c:IsAbleToGraveAsCost() and Duel.GetMZoneCount(tp,c)>0
5151
and (c:IsFaceup() or c:IsLocation(LOCATION_HAND))
5252
end
5353
function s.selfspcost(e,tp,eg,ep,ev,re,r,rp,chk)
@@ -69,7 +69,7 @@ function s.selfspop(e,tp,eg,ep,ev,re,r,rp)
6969
end
7070
end
7171
function s.spfilter(c,e,tp)
72-
return c:IsSetCard(SET_ELVENNOTES) and not c:IsCode(id) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
72+
return c:IsSetCard(SET_ELFNOTE) and not c:IsCode(id) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
7373
end
7474
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
7575
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0

0 commit comments

Comments
 (0)